Initiate OAuth2 authentication flow with a social provider. Redirects the user to the provider’s authorization page.
The name of the social provider
apple, github, google, linkedin, discord, spotify, twitch, gitlab, bitbucket, workos, azuread, entraid, strava, facebook, windowslive, twitter Array of allowed roles for the user
["me", "user"]Default role for the user
"user"
Display name for the user
32"John Smith"
A two-characters locale
2"en"
URI to redirect to
"https://my-app.com/catch-redirection"
If set, this means that the user is already authenticated and wants to link their account. This needs to be a valid JWT access token.
Opaque state value to be returned by the provider