Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion A0Auth0.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
s.source_files = 'ios/**/*.{h,m,mm,swift}'
s.requires_arc = true

s.dependency 'Auth0', '2.16.2'
s.dependency 'Auth0', '2.18.0'

install_modules_dependencies(s)
end
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ dependencies {
implementation "com.facebook.react:react-android"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "androidx.browser:browser:1.2.0"
implementation 'com.auth0.android:auth0:3.12.0'
implementation 'com.auth0.android:auth0:3.14.0'
}

if (isNewArchitectureEnabled()) {
Expand Down
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- A0Auth0 (5.4.0):
- Auth0 (= 2.16.2)
- Auth0 (= 2.18.0)
- hermes-engine
- RCTRequired
- RCTTypeSafety
Expand All @@ -22,7 +22,7 @@ PODS:
- ReactCommon/turbomodule/core
- ReactNativeDependencies
- Yoga
- Auth0 (2.16.2):
- Auth0 (2.18.0):
- JWTDecode (= 3.3.0)
- SimpleKeychain (= 1.3.0)
- FBLazyVector (0.84.1)
Expand Down Expand Up @@ -2197,8 +2197,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
A0Auth0: 71c7977feaed4fca1146a34302589a978983707e
Auth0: f08ad1b74d49ffe806175845ef326d9a7674b34c
A0Auth0: fd3fc9887adae5e3e9229312b344727323dca709
Auth0: ddc5c6c7eb17e2484fd8d50a15d99b657c36c72c
FBLazyVector: e97c19a5a442429d1988f182a1940fb08df514da
hermes-engine: 5a6d36f29e9659a4242ae9acfdaafa16c394a162
JWTDecode: 1ca6f765844457d0dd8690436860fecee788f631
Expand Down
14 changes: 7 additions & 7 deletions ios/NativeBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -503,21 +503,21 @@ extension CredentialsManagerError {
func reactNativeErrorCode() -> String {
var code: String
switch self {
case .noCredentials: code = "NO_CREDENTIALS"
case .noRefreshToken: code = "NO_REFRESH_TOKEN"
case .renewFailed: if let cause = self.cause as? AuthenticationError {
case CredentialsManagerError.noCredentials: code = "NO_CREDENTIALS"
case CredentialsManagerError.noRefreshToken: code = "NO_REFRESH_TOKEN"
case CredentialsManagerError.renewFailed: if let cause = self.cause as? AuthenticationError {
code = cause.code
} else {
code = "RENEW_FAILED"
}
case .storeFailed: code = "STORE_FAILED"
case .biometricsFailed: code = "BIOMETRICS_FAILED"
case .revokeFailed: if let cause = self.cause as? AuthenticationError {
case CredentialsManagerError.storeFailed: code = "STORE_FAILED"
case CredentialsManagerError.biometricsFailed: code = "BIOMETRICS_FAILED"
case CredentialsManagerError.revokeFailed: if let cause = self.cause as? AuthenticationError {
code = cause.code
} else {
code = "REVOKE_FAILED"
}
case .largeMinTTL: code = "LARGE_MIN_TTL"
case CredentialsManagerError.largeMinTTL: code = "LARGE_MIN_TTL"
default: code = "UNKNOWN"
}
return code
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"typescript-eslint": "^8.57.2"
},
"dependencies": {
"@auth0/auth0-spa-js": "2.11.3",
"@auth0/auth0-spa-js": "2.18.2",
"base-64": "^1.0.0",
"jwt-decode": "^4.0.0",
"url": "^0.11.4"
Expand Down
57 changes: 46 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,25 @@ __metadata:
languageName: node
linkType: hard

"@auth0/auth0-spa-js@npm:2.11.3":
version: 2.11.3
resolution: "@auth0/auth0-spa-js@npm:2.11.3"
"@auth0/auth0-auth-js@npm:1.6.0":
version: 1.6.0
resolution: "@auth0/auth0-auth-js@npm:1.6.0"
dependencies:
jose: "npm:^6.0.8"
openid-client: "npm:^6.8.0"
checksum: 10c0/0f5672ea77045d1172dac8a2571f1a7111045677191fa6105c0458a720fab3db385384b302535a6694c16dfe82ef0e9a3510d2113d5c35ca0f5ecd1bb1d96c05
languageName: node
linkType: hard

"@auth0/auth0-spa-js@npm:2.18.2":
version: 2.18.2
resolution: "@auth0/auth0-spa-js@npm:2.18.2"
dependencies:
browser-tabs-lock: "npm:^1.2.15"
dpop: "npm:^2.1.1"
es-cookie: "npm:~1.3.2"
checksum: 10c0/6b40be78ed539ebe39ec9384a62767bbaf69c43c82eb8a9a4e36f83f36422c824f2a5d87fab0d0b510458158265a83392153a6ed6a0ba74b5660169e0d066d46
"@auth0/auth0-auth-js": "npm:1.6.0"
browser-tabs-lock: "npm:1.3.0"
dpop: "npm:2.1.1"
es-cookie: "npm:1.3.2"
checksum: 10c0/b100778d4896ceb9cb88684f13c5ab0d45cf71430cbb4184530da32aaa1081b91ab6fa4621c56b184d8b488be4adc2570ac1ae5c0dd7d89f0e4a8f6a2616eae9
languageName: node
linkType: hard

Expand Down Expand Up @@ -7067,7 +7078,7 @@ __metadata:
languageName: node
linkType: hard

"browser-tabs-lock@npm:^1.2.15":
"browser-tabs-lock@npm:1.3.0":
version: 1.3.0
resolution: "browser-tabs-lock@npm:1.3.0"
dependencies:
Expand Down Expand Up @@ -8592,7 +8603,7 @@ __metadata:
languageName: node
linkType: hard

"dpop@npm:^2.1.1":
"dpop@npm:2.1.1":
version: 2.1.1
resolution: "dpop@npm:2.1.1"
checksum: 10c0/e46dfd62325dd63372a17492c1867f79cdaf235645d32b87c3be8a09d4c7b03b8b44efec26688ba19e8279c77497a08deb302a9a4704b432795efd1163519611
Expand Down Expand Up @@ -8849,7 +8860,7 @@ __metadata:
languageName: node
linkType: hard

"es-cookie@npm:~1.3.2":
"es-cookie@npm:1.3.2":
version: 1.3.2
resolution: "es-cookie@npm:1.3.2"
checksum: 10c0/26eb6e06b25b5569d8763fcb23b5335a5098e354b0a9a7bc5122e8c8705003307187a165ddaeda5cff08fa4cc8e1675dbddd5709279fb27cfa8875514dc3eccb
Expand Down Expand Up @@ -12275,6 +12286,13 @@ __metadata:
languageName: node
linkType: hard

"jose@npm:^6.0.8, jose@npm:^6.1.3":
version: 6.2.2
resolution: "jose@npm:6.2.2"
checksum: 10c0/201f4776d77eccd339de99fb3ba940fdf03db15e64be7a99b511e53c232e3f3818e3f21b95223d62f99315a2ab76b4251cedd94e067de56893e45273a8d2151b
languageName: node
linkType: hard

"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0":
version: 4.0.0
resolution: "js-tokens@npm:4.0.0"
Expand Down Expand Up @@ -14313,6 +14331,13 @@ __metadata:
languageName: node
linkType: hard

"oauth4webapi@npm:^3.8.4":
version: 3.8.5
resolution: "oauth4webapi@npm:3.8.5"
checksum: 10c0/688142b30f2243813721bfa4ab879aa0056636b19a3d7964d46b11b967199ab8f74f3771225f71ec766821d410add950475cf1afcfe26a9640cd1c0a1de8e423
languageName: node
linkType: hard

"ob1@npm:0.83.2":
version: 0.83.2
resolution: "ob1@npm:0.83.2"
Expand Down Expand Up @@ -14537,6 +14562,16 @@ __metadata:
languageName: node
linkType: hard

"openid-client@npm:^6.8.0":
version: 6.8.2
resolution: "openid-client@npm:6.8.2"
dependencies:
jose: "npm:^6.1.3"
oauth4webapi: "npm:^3.8.4"
checksum: 10c0/98de93a1d1135f7c51b7707258ec0506bc6dc5359acf06f922cd4258635d657d1a80b740ad4a11ae9e79ce6061dd0d19cf5115a9918866f0b46c5486cfbbf22c
languageName: node
linkType: hard

"optionator@npm:^0.9.3":
version: 0.9.4
resolution: "optionator@npm:0.9.4"
Expand Down Expand Up @@ -15489,7 +15524,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "react-native-auth0@workspace:."
dependencies:
"@auth0/auth0-spa-js": "npm:2.11.3"
"@auth0/auth0-spa-js": "npm:2.18.2"
"@commitlint/config-conventional": "npm:^20.5.0"
"@eslint/compat": "npm:^2.0.3"
"@eslint/eslintrc": "npm:^3.3.5"
Expand Down
Loading