The options below have changed from the previous V1 release. Please see the migration guide for more details.
withConnection
ThewithConnection
option lets you specify a connection that you want to authenticate with.
withScope
Using scopes can lets you return specific claims for specific fields in your request. Adding parameters towithScope
lets you add more scopes. See Scopes for details.
openid profile email
.
withConnectionScope
There may be times when you need to authenticate with particular connection scopes, or permissions, from the authentication provider in question. See Adding Scopes for an External IDP. However, if you need specific access for a particular situation in your app, you can do pass parameters towithConnectionScope
. You can find a full list of the available parameters in that connection’s settings on the Dashboard, or from the authentication providers’s documentation. The scope requested here is added on top of the ones specified in the connection’s settings in the Dashboard.
withParameters
To send additional parameters on the authentication, usewithParameters.
withHeaders
To send custom headers to the authorization endpoint, usewithHeaders.
withScheme
If you are not using Android “App Links” or you want to use a different scheme for the redirect URI, usewithScheme
. Update the auth0Scheme
Manifest Placeholder in the app/build.gradle
file and the AllowList Allowed Callback URLs on the Dashboard in the Application’s settings to match the chosen scheme.
The scheme must be lowercase and not contain underscore characters.
withAudience
To provide an , usewithAudience
.