Optional
customAndroid only: Custom scheme to build the callback URL with.
Optional
ephemeraliOS only: Disable Single-Sign-On (SSO). It only affects iOS with versions 13 and above.
false
Optional
leeway
The amount of leeway, in seconds, to accommodate potential clock skew when validating an ID token's claims.
60 seconds.
Optional
useThis will use older callback URL. See https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md#callback-url-migration for more details.
Optional
useSFSafari
iOS only: Uses
SFSafariViewController
instead of
ASWebAuthenticationSession
. If empty object is set,
the presentationStyle defaults to
SafariViewControllerPresentationStyle.fullScreen
This can be used as a boolean value or as an object which sets
the presentationStyle
. See the examples below for
reference
Optional
presentationawait authorize({}, {useSFSafariViewController: true});
or
await authorize({}, {useSFSafariViewController: {presentationStyle: SafariViewControllerPresentationStyle.fullScreen}});
Generated using TypeDoc
Options for controlling the SDK's behaviour when calling the
/authorize
endpoint.