user

Links an OAuth identity to an existing user. Redirects to an external OAuth provider.

Changed on
get/user/identities/authorize

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/user/identities/authorize
  • Auth
    API key in header apikey and HTTP bearer

Query parameters

providerstring required

Name of the OAuth provider.

scopesstring required

Space separated list of OAuth scopes to pass on to provider.

redirect_tostring uri

(Optional) URL to redirect back into the app on after OAuth sign-in completes successfully or not. If not specified will use the "Site URL" configuration option. If not allowed per the allow list it will use the "Site URL" configuration option.

code_challenge_method'plain' | 's256'

(Optional) Method used to encrypt the verifier. Can be plain (no transformation) or s256 (where SHA-256 is used). It is always recommended that s256 is used.

Changes