Skip to content

Commit aa9ef1c

Browse files
chore(deps): upgrade Auth0 native SDKs to latest versions (#1480)
1 parent 3911bc2 commit aa9ef1c

6 files changed

Lines changed: 60 additions & 25 deletions

File tree

A0Auth0.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.source_files = 'ios/**/*.{h,m,mm,swift}'
1717
s.requires_arc = true
1818

19-
s.dependency 'Auth0', '2.16.2'
19+
s.dependency 'Auth0', '2.18.0'
2020

2121
install_modules_dependencies(s)
2222
end

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ dependencies {
9696
implementation "com.facebook.react:react-android"
9797
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
9898
implementation "androidx.browser:browser:1.2.0"
99-
implementation 'com.auth0.android:auth0:3.12.0'
99+
implementation 'com.auth0.android:auth0:3.14.0'
100100
}
101101

102102
if (isNewArchitectureEnabled()) {

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- A0Auth0 (5.4.0):
3-
- Auth0 (= 2.16.2)
3+
- Auth0 (= 2.18.0)
44
- hermes-engine
55
- RCTRequired
66
- RCTTypeSafety
@@ -22,7 +22,7 @@ PODS:
2222
- ReactCommon/turbomodule/core
2323
- ReactNativeDependencies
2424
- Yoga
25-
- Auth0 (2.16.2):
25+
- Auth0 (2.18.0):
2626
- JWTDecode (= 3.3.0)
2727
- SimpleKeychain (= 1.3.0)
2828
- FBLazyVector (0.84.1)
@@ -2197,8 +2197,8 @@ EXTERNAL SOURCES:
21972197
:path: "../node_modules/react-native/ReactCommon/yoga"
21982198

21992199
SPEC CHECKSUMS:
2200-
A0Auth0: 71c7977feaed4fca1146a34302589a978983707e
2201-
Auth0: f08ad1b74d49ffe806175845ef326d9a7674b34c
2200+
A0Auth0: fd3fc9887adae5e3e9229312b344727323dca709
2201+
Auth0: ddc5c6c7eb17e2484fd8d50a15d99b657c36c72c
22022202
FBLazyVector: e97c19a5a442429d1988f182a1940fb08df514da
22032203
hermes-engine: 5a6d36f29e9659a4242ae9acfdaafa16c394a162
22042204
JWTDecode: 1ca6f765844457d0dd8690436860fecee788f631

ios/NativeBridge.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -503,21 +503,21 @@ extension CredentialsManagerError {
503503
func reactNativeErrorCode() -> String {
504504
var code: String
505505
switch self {
506-
case .noCredentials: code = "NO_CREDENTIALS"
507-
case .noRefreshToken: code = "NO_REFRESH_TOKEN"
508-
case .renewFailed: if let cause = self.cause as? AuthenticationError {
506+
case CredentialsManagerError.noCredentials: code = "NO_CREDENTIALS"
507+
case CredentialsManagerError.noRefreshToken: code = "NO_REFRESH_TOKEN"
508+
case CredentialsManagerError.renewFailed: if let cause = self.cause as? AuthenticationError {
509509
code = cause.code
510510
} else {
511511
code = "RENEW_FAILED"
512512
}
513-
case .storeFailed: code = "STORE_FAILED"
514-
case .biometricsFailed: code = "BIOMETRICS_FAILED"
515-
case .revokeFailed: if let cause = self.cause as? AuthenticationError {
513+
case CredentialsManagerError.storeFailed: code = "STORE_FAILED"
514+
case CredentialsManagerError.biometricsFailed: code = "BIOMETRICS_FAILED"
515+
case CredentialsManagerError.revokeFailed: if let cause = self.cause as? AuthenticationError {
516516
code = cause.code
517517
} else {
518518
code = "REVOKE_FAILED"
519519
}
520-
case .largeMinTTL: code = "LARGE_MIN_TTL"
520+
case CredentialsManagerError.largeMinTTL: code = "LARGE_MIN_TTL"
521521
default: code = "UNKNOWN"
522522
}
523523
return code

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"typescript-eslint": "^8.57.2"
136136
},
137137
"dependencies": {
138-
"@auth0/auth0-spa-js": "2.11.3",
138+
"@auth0/auth0-spa-js": "2.18.2",
139139
"base-64": "^1.0.0",
140140
"jwt-decode": "^4.0.0",
141141
"url": "^0.11.4"

yarn.lock

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,25 @@ __metadata:
4040
languageName: node
4141
linkType: hard
4242

43-
"@auth0/auth0-spa-js@npm:2.11.3":
44-
version: 2.11.3
45-
resolution: "@auth0/auth0-spa-js@npm:2.11.3"
43+
"@auth0/auth0-auth-js@npm:1.6.0":
44+
version: 1.6.0
45+
resolution: "@auth0/auth0-auth-js@npm:1.6.0"
46+
dependencies:
47+
jose: "npm:^6.0.8"
48+
openid-client: "npm:^6.8.0"
49+
checksum: 10c0/0f5672ea77045d1172dac8a2571f1a7111045677191fa6105c0458a720fab3db385384b302535a6694c16dfe82ef0e9a3510d2113d5c35ca0f5ecd1bb1d96c05
50+
languageName: node
51+
linkType: hard
52+
53+
"@auth0/auth0-spa-js@npm:2.18.2":
54+
version: 2.18.2
55+
resolution: "@auth0/auth0-spa-js@npm:2.18.2"
4656
dependencies:
47-
browser-tabs-lock: "npm:^1.2.15"
48-
dpop: "npm:^2.1.1"
49-
es-cookie: "npm:~1.3.2"
50-
checksum: 10c0/6b40be78ed539ebe39ec9384a62767bbaf69c43c82eb8a9a4e36f83f36422c824f2a5d87fab0d0b510458158265a83392153a6ed6a0ba74b5660169e0d066d46
57+
"@auth0/auth0-auth-js": "npm:1.6.0"
58+
browser-tabs-lock: "npm:1.3.0"
59+
dpop: "npm:2.1.1"
60+
es-cookie: "npm:1.3.2"
61+
checksum: 10c0/b100778d4896ceb9cb88684f13c5ab0d45cf71430cbb4184530da32aaa1081b91ab6fa4621c56b184d8b488be4adc2570ac1ae5c0dd7d89f0e4a8f6a2616eae9
5162
languageName: node
5263
linkType: hard
5364

@@ -7099,7 +7110,7 @@ __metadata:
70997110
languageName: node
71007111
linkType: hard
71017112

7102-
"browser-tabs-lock@npm:^1.2.15":
7113+
"browser-tabs-lock@npm:1.3.0":
71037114
version: 1.3.0
71047115
resolution: "browser-tabs-lock@npm:1.3.0"
71057116
dependencies:
@@ -8624,7 +8635,7 @@ __metadata:
86248635
languageName: node
86258636
linkType: hard
86268637

8627-
"dpop@npm:^2.1.1":
8638+
"dpop@npm:2.1.1":
86288639
version: 2.1.1
86298640
resolution: "dpop@npm:2.1.1"
86308641
checksum: 10c0/e46dfd62325dd63372a17492c1867f79cdaf235645d32b87c3be8a09d4c7b03b8b44efec26688ba19e8279c77497a08deb302a9a4704b432795efd1163519611
@@ -8881,7 +8892,7 @@ __metadata:
88818892
languageName: node
88828893
linkType: hard
88838894

8884-
"es-cookie@npm:~1.3.2":
8895+
"es-cookie@npm:1.3.2":
88858896
version: 1.3.2
88868897
resolution: "es-cookie@npm:1.3.2"
88878898
checksum: 10c0/26eb6e06b25b5569d8763fcb23b5335a5098e354b0a9a7bc5122e8c8705003307187a165ddaeda5cff08fa4cc8e1675dbddd5709279fb27cfa8875514dc3eccb
@@ -12320,6 +12331,13 @@ __metadata:
1232012331
languageName: node
1232112332
linkType: hard
1232212333

12334+
"jose@npm:^6.0.8, jose@npm:^6.1.3":
12335+
version: 6.2.2
12336+
resolution: "jose@npm:6.2.2"
12337+
checksum: 10c0/201f4776d77eccd339de99fb3ba940fdf03db15e64be7a99b511e53c232e3f3818e3f21b95223d62f99315a2ab76b4251cedd94e067de56893e45273a8d2151b
12338+
languageName: node
12339+
linkType: hard
12340+
1232312341
"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0":
1232412342
version: 4.0.0
1232512343
resolution: "js-tokens@npm:4.0.0"
@@ -14133,6 +14151,13 @@ __metadata:
1413314151
languageName: node
1413414152
linkType: hard
1413514153

14154+
"oauth4webapi@npm:^3.8.4":
14155+
version: 3.8.5
14156+
resolution: "oauth4webapi@npm:3.8.5"
14157+
checksum: 10c0/688142b30f2243813721bfa4ab879aa0056636b19a3d7964d46b11b967199ab8f74f3771225f71ec766821d410add950475cf1afcfe26a9640cd1c0a1de8e423
14158+
languageName: node
14159+
linkType: hard
14160+
1413614161
"ob1@npm:0.83.3":
1413714162
version: 0.83.3
1413814163
resolution: "ob1@npm:0.83.3"
@@ -14348,6 +14373,16 @@ __metadata:
1434814373
languageName: node
1434914374
linkType: hard
1435014375

14376+
"openid-client@npm:^6.8.0":
14377+
version: 6.8.2
14378+
resolution: "openid-client@npm:6.8.2"
14379+
dependencies:
14380+
jose: "npm:^6.1.3"
14381+
oauth4webapi: "npm:^3.8.4"
14382+
checksum: 10c0/98de93a1d1135f7c51b7707258ec0506bc6dc5359acf06f922cd4258635d657d1a80b740ad4a11ae9e79ce6061dd0d19cf5115a9918866f0b46c5486cfbbf22c
14383+
languageName: node
14384+
linkType: hard
14385+
1435114386
"optionator@npm:^0.9.3":
1435214387
version: 0.9.4
1435314388
resolution: "optionator@npm:0.9.4"
@@ -15300,7 +15335,7 @@ __metadata:
1530015335
version: 0.0.0-use.local
1530115336
resolution: "react-native-auth0@workspace:."
1530215337
dependencies:
15303-
"@auth0/auth0-spa-js": "npm:2.11.3"
15338+
"@auth0/auth0-spa-js": "npm:2.18.2"
1530415339
"@commitlint/config-conventional": "npm:^20.5.0"
1530515340
"@eslint/compat": "npm:^2.0.3"
1530615341
"@eslint/eslintrc": "npm:^3.3.5"

0 commit comments

Comments
 (0)