Skip to content

Commit

Permalink
chore(deps): update dependency react-native-auth0 to v3 (#6006)
Browse files Browse the repository at this point in the history
There was one breaking change (requiring new callback urls for android),
This was updated in auth0. @joe and @satish-ravi tested manually by
ensuring backup on old version is restorable on new version on both iOS
and android

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-auth0](https://redirect.github.com/auth0/react-native-auth0)
| [`^2.17.4` ->
`^3.2.1`](https://renovatebot.com/diffs/npm/react-native-auth0/2.17.4/3.2.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-auth0/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-auth0/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-auth0/2.17.4/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-auth0/2.17.4/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>auth0/react-native-auth0 (react-native-auth0)</summary>

###
[`v3.2.1`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v321-2024-05-09)

[Compare
Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.2.0...v3.2.1)

[Full
Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.2.0...v3.2.1)

**Fixed**

- chore: upgraded dependency on Auth0.swift to 2.7.2
[#&#8203;895](https://redirect.github.com/auth0/react-native-auth0/pull/895)
([desusai7](https://redirect.github.com/desusai7))

**Security**

- chore(deps-dev): bump expo from 50.0.17 to 50.0.18
[#&#8203;902](https://redirect.github.com/auth0/react-native-auth0/pull/902)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- chore(deps-dev): bump
[@&#8203;types/jest](https://redirect.github.com/types/jest) from
29.5.11 to 29.5.12
[#&#8203;901](https://redirect.github.com/auth0/react-native-auth0/pull/901)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- chore(deps-dev): bump
[@&#8203;testing-library/react](https://redirect.github.com/testing-library/react)
from 14.1.2 to 14.3.1
[#&#8203;900](https://redirect.github.com/auth0/react-native-auth0/pull/900)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- chore(deps-dev): bump pod-install from 0.1.39 to 0.2.2
[#&#8203;899](https://redirect.github.com/auth0/react-native-auth0/pull/899)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- chore(deps-dev): bump
[@&#8203;types/react-native](https://redirect.github.com/types/react-native)
from 0.72.8 to 0.73.0
[#&#8203;898](https://redirect.github.com/auth0/react-native-auth0/pull/898)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- feat: bumped up react-native version to 0.74.1 and expo to 50.0.0
[#&#8203;889](https://redirect.github.com/auth0/react-native-auth0/pull/889)
([desusai7](https://redirect.github.com/desusai7))

###
[`v3.2.0`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v320-2024-04-26)

[Compare
Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.1.0...v3.2.0)

[Full
Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.1.0...v3.2.0)

**Added**

- Support for Apple's Privacy Manifest
[#&#8203;887](https://redirect.github.com/auth0/react-native-auth0/pull/887)
([poovamraj](https://redirect.github.com/poovamraj))
- chore(deps-dev): bump
[@&#8203;types/react](https://redirect.github.com/types/react) from
17.0.71 to 17.0.73
[#&#8203;831](https://redirect.github.com/auth0/react-native-auth0/pull/831)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- chore(deps-dev): bump react-native from 0.72.7 to 0.73.0
[#&#8203;823](https://redirect.github.com/auth0/react-native-auth0/pull/823)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))

###
[`v3.1.0`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v310-2023-12-05)

[Compare
Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.2...v3.1.0)

[Full
Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.2...v3.1.0)

**Added**

- Provide option to pass custom redirect url
[#&#8203;813](https://redirect.github.com/auth0/react-native-auth0/pull/813)
([poovamraj](https://redirect.github.com/poovamraj))
- Support SFSafariViewController
[#&#8203;800](https://redirect.github.com/auth0/react-native-auth0/pull/800)
([poovamraj](https://redirect.github.com/poovamraj))
- Support additional parameters for forceRefresh in iOS
[#&#8203;801](https://redirect.github.com/auth0/react-native-auth0/pull/801)
([poovamraj](https://redirect.github.com/poovamraj))

**Fixed**

- Handle incomplete promise in web authentication
[#&#8203;798](https://redirect.github.com/auth0/react-native-auth0/pull/798)
([poovamraj](https://redirect.github.com/poovamraj))
- Fix metadata type in `CreateUserOptions`
[#&#8203;789](https://redirect.github.com/auth0/react-native-auth0/pull/789)
([poovamraj](https://redirect.github.com/poovamraj))

###
[`v3.0.2`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v302-2023-10-06)

[Compare
Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.1...v3.0.2)

[Full
Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.1...v3.0.2)

**Fixed**

- \[ESD-30932] Improve error handling
[#&#8203;720](https://redirect.github.com/auth0/react-native-auth0/pull/720)
([poovamraj](https://redirect.github.com/poovamraj))

**Security**

- Update Auth0.Android to resolve CVE-2023-3635
[#&#8203;750](https://redirect.github.com/auth0/react-native-auth0/pull/750)
([poovamraj](https://redirect.github.com/poovamraj))

###
[`v3.0.1`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v301-2023-08-16)

[Compare
Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.0...v3.0.1)

[Full
Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.0...v3.0.1)

**Fixed**

- Make `authorize` and `clearSession` parameters optional
[#&#8203;701](https://redirect.github.com/auth0/react-native-auth0/pull/701)
([poovamraj](https://redirect.github.com/poovamraj))

**Security**

- chore(deps): bump semver from 5.7.1 to 5.7.2 in /example
[#&#8203;692](https://redirect.github.com/auth0/react-native-auth0/pull/692)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- chore(deps): bump fast-xml-parser from 4.2.4 to 4.2.7 in /example
[#&#8203;693](https://redirect.github.com/auth0/react-native-auth0/pull/693)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))

###
[`v3.0.0`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v300-2023-08-10)

[Compare
Source](https://redirect.github.com/auth0/react-native-auth0/compare/v2.17.4...v3.0.0)

[Full
Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v2.17.4...v3.0.0)

💡 Check the [Migration Guide](MIGRATION_GUIDE.md) to understand the
changes required to migrate your application to v3.

**Added**

-   Credentials are returned as part of authorize methods in hooks
-   Support for organizations name in login
-   Added sample app in the repository
-   Expo plugin is updated to latest version
-   Added 'openid profile email' as mandatory scopes
-   Option to `forceRefresh` is added in `getCredentials`
-   Added `hasValidCredentials` to hooks
-   More options to authorize using Hooks
    -   `authorizeWithSMS`
    -   `authorizeWithEmail`
    -   `authorizeWithOOB`
    -   `authorizeWithOTP`
    -   `authorizeWithRecoveryCode`

**Changed**

-   Custom Scheme is now optional in Expo
-   Migrated the codebase to Typescript
- Use Native SDKs
([Auth0.Android](https://redirect.github.com/auth0/Auth0.Android/) and
[Auth0.Swift](https://redirect.github.com/auth0/Auth0.Swift)) for Web
Authentication
- `Credentials` object in Android will return `expiresIn` instead of
`expiresAt`
-   `max_age` parameter is changed to `maxAge` in `WebAuth.authorize()`
- `customScheme` is now part of `ClearSessionOptions` instead of
`ClearSessionParameters` in `clearSession`
-   Minimum supported version for iOS is bumped to 13
- Revoke Token and Change Password now return `void` instead of an empty
object

**Removed**

- Removed the `type` property returned in the `Credentials` object in
Android. Use `tokenType` instead.
- `skipLegacyListener` has been removed in `authorize` and
`clearSession`

**Security**

- chore(deps): bump word-wrap from 1.2.3 to 1.2.4
[#&#8203;682](https://redirect.github.com/auth0/react-native-auth0/pull/682)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))
- chore: Expand `.semgrepignore` exclusions to tests
[#&#8203;679](https://redirect.github.com/auth0/react-native-auth0/pull/679)
([evansims](https://redirect.github.com/evansims))
- chore(deps-dev): bump semver from 6.3.0 to 7.5.2
[#&#8203;657](https://redirect.github.com/auth0/react-native-auth0/pull/657)
([dependabot\[bot\]](https://redirect.github.com/apps/dependabot))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibnBtIiwicmVub3ZhdGUiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
  • Loading branch information
renovate[bot] and satish-ravi authored Sep 30, 2024
1 parent 2a6433e commit 9ae02ee
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 194 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ android {

manifestPlaceholders = [
auth0Domain: project.env.get("AUTH0_DOMAIN"),
auth0Scheme: "${applicationId}",
auth0Scheme: "${applicationId}.auth0",
clevertapAccountId: secrets['CLEVERTAP_ACCOUNT_ID'] ?: '', // these values cannot be null
clevertapToken: secrets['CLEVERTAP_TOKEN'] ?: ''
]
Expand Down
2 changes: 2 additions & 0 deletions ios/MobileStack.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-MobileStack/Pods-MobileStack-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/Adjust/Adjust.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Auth0/Auth0.bundle",
"${PODS_ROOT}/CleverTap-iOS-SDK/CleverTapSDK/AmazonRootCA1.cer",
"${PODS_CONFIGURATION_BUILD_DIR}/CleverTap-iOS-SDK/CleverTapSDK.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/FirebaseABTesting/FirebaseABTesting_Privacy.bundle",
Expand All @@ -418,6 +419,7 @@
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Adjust.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Auth0.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AmazonRootCA1.cer",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CleverTapSDK.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FirebaseABTesting_Privacy.bundle",
Expand Down
26 changes: 13 additions & 13 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PODS:
- A0Auth0 (2.17.4):
- Auth0 (= 2.3.2)
- JWTDecode (= 3.0.1)
- A0Auth0 (3.2.1):
- Auth0 (= 2.7.2)
- JWTDecode (= 3.1.0)
- React-Core
- SimpleKeychain (= 1.0.1)
- SimpleKeychain (= 1.1.0)
- Adjust (4.38.2):
- Adjust/Core (= 4.38.2)
- Adjust/Core (4.38.2)
- Auth0 (2.3.2):
- JWTDecode (~> 3.0)
- SimpleKeychain (~> 1.0)
- Auth0 (2.7.2):
- JWTDecode (~> 3.1)
- SimpleKeychain (~> 1.1)
- boost (1.76.0)
- BVLinearGradient (2.8.3):
- React-Core
Expand Down Expand Up @@ -234,7 +234,7 @@ PODS:
- hermes-engine (0.72.15):
- hermes-engine/Pre-built (= 0.72.15)
- hermes-engine/Pre-built (0.72.15)
- JWTDecode (3.0.1)
- JWTDecode (3.1.0)
- leveldb-library (1.22.2)
- libevent (2.1.12)
- libwebp (1.3.2):
Expand Down Expand Up @@ -833,7 +833,7 @@ PODS:
- React-Core
- sovran-react-native
- Sentry/HybridSDK (8.36.0)
- SimpleKeychain (1.0.1)
- SimpleKeychain (1.1.0)
- SocketRocket (0.6.1)
- sovran-react-native (1.1.2):
- React-Core
Expand Down Expand Up @@ -1196,9 +1196,9 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
A0Auth0: 5ae918d2f043395f83ac26d6eb85b249bcb54634
A0Auth0: 47cb14c87d549b95b92242675ff2198ccd9dcbc5
Adjust: 5a0f813fe079212bed61404d1f635cc330068b4a
Auth0: 64da28fdc5cd499aa516dc4bfd0ace8efae2c1da
Auth0: 28cb24cb19ebd51f0b07751f16d83b59f4019532
boost: 7dcd2de282d72e344012f7d6564d024930a6a440
BVLinearGradient: 880f91a7854faff2df62518f0281afb1c60d49a3
CleverTap-iOS-SDK: 78ea6d752d84918f0426f7b3959777d862bcb348
Expand Down Expand Up @@ -1238,7 +1238,7 @@ SPEC CHECKSUMS:
GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152
GTMSessionFetcher: e8647203b65cee28c5f73d0f473d096653945e72
hermes-engine: 5b340c6a5affbf3aba22185be41563bbb2426654
JWTDecode: 2eed97c2fa46ccaf3049a787004eedf0be474a87
JWTDecode: 3eaab1e06b6f4dcbdd6716aff09ba4c2104ca8b7
leveldb-library: f03246171cce0484482ec291f88b6d563699ee06
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
libwebp: 1786c9f4ff8a279e4dac1e8f385004d5fc253009
Expand Down Expand Up @@ -1330,7 +1330,7 @@ SPEC CHECKSUMS:
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
segment-analytics-react-native: 4bac3da03dd4a1eed178786b1d7025cd2c0ed6c9
Sentry: f8374b5415bc38dfb5645941b3ae31230fbeae57
SimpleKeychain: 130211269f88f038d7dc5254cf0b1b9ce978c398
SimpleKeychain: f8707c8e97b38c6a6e687b17732afc9bcef06439
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
sovran-react-native: 5f02bd2d111ffe226d00c7b0435290eae6f10934
Toast: 91b396c56ee72a5790816f40d3a94dd357abc196
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"react-native": "0.72.15",
"react-native-adjust": "^4.38.1",
"react-native-android-open-settings": "^1.3.0",
"react-native-auth0": "^2.17.4",
"react-native-auth0": "^3.2.1",
"react-native-camera": "^4.2.1",
"react-native-config": "^1.5.3",
"react-native-contacts": "https://github.com/celo-org/react-native-contacts#9940121",
Expand Down
Loading

0 comments on commit 9ae02ee

Please sign in to comment.