Third Party
Initialize third party login
Initialize an OAuth-backed (authorization code grant type) login with a third party provider by redirecting to the specified provider login URL to retrieve an authorization code.
get/thirdparty/auth
Query parameters
provider'google' | 'github' required
The name of the third party provider to log in with. Only providers enabled in the configuration via the thirdparty.providers option can be used. Requesting an unsupported provider results in a redirect with error details in the location query.
redirect_tostring base64url required
Base64url encoded string representing the URL the /callback eventually redirects to after successful login with the third party provider. It must match one of the allowed redirect URLs set in the backend configuration through the third_party.allowed_redirect_urls.