v3.0.0-beta.2 (2023-07-10)
💡 Check the Migration Guide to understand the changes required to migrate your application to v3.
Added
- Credentials are returned as part of authorize methods in hooks
- 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 ingetCredentials
- 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 and Auth0.Swift) for Web Authentication
Credentials
object in Android will returnexpiresIn
instead ofexpiresAt
max_age
parameter is changed tomaxAge
inWebAuth.authorize()
customScheme
is now part ofClearSessionOptions
instead ofClearSessionParameters
inclearSession
- 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 theCredentials
object in Android. UsetokenType
instead. skipLegacyListener
has been removed inauthorize
andclearSession
Supported Versions
- Minimum supported version for iOS is bumped to 13
- Minimum supported version for Expo is bumped to 48