github auth0/react-native-auth0 v6.0.0

4 hours ago

This is the stable release of the v6 major. It requires the React Native New Architecture (React Native 0.82 or later) and adds support for React Native 0.88. It also adopts the native SDK majors, Auth0.Android v4 and Auth0.swift v3. Read the Migration Guide before upgrading from v5.

Breaking changes

What this means for your app:

  • React Native 0.82+ with the New Architecture is required. Expo apps need SDK 55+.
  • Android needs minSdkVersion 26, JDK 17 and compileSdk 36. iOS needs a deployment target of 15.1 and builds with Auth0.swift 3 (Swift 6).
  • DPoP is off by default. Set useDPoP: true to keep using it.
  • getCredentials() and getApiCredentials() now default minTtl to 60 seconds.
  • The client-side Management API (users()) and the legacy MFA methods on the auth client are removed.
  • TypeScript interfaces no longer use the I prefix, SSOCredentials.expiresIn is now expiresAt, and some web auth and credentials manager error codes were renamed or added.
  • ID token claim validation is opt-in on direct token requests.

Added

Fixed

Documentation

  • docs: group ApiCredentials under Classes and fix duplicate @remarks warning #1712 (subhankarmaiti)
  • docs: correct migration guide — Auth Tab is opt-in via useAuthTab; split section 6 #1665 (NandanPrabhu)
  • docs(example): restructure example app into per-feature hooks and class demos #1655 (subhankarmaiti)
  • docs: document native v4/v3 adoption — linking, claim validation, build floors #1648 (NandanPrabhu)

Don't miss a new react-native-auth0 release

NewReleases is sending notifications on new releases.