v3.0.0
v3.0.0 (2023-08-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
- 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 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
Security
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 #682 (dependabot[bot])
- chore: Expand
.semgrepignore
exclusions to tests #679 (evansims) - chore(deps-dev): bump semver from 6.3.0 to 7.5.2 #657 (dependabot[bot])