auth v2

Link social account.

Changed on

Link a social account to the user

post/link-social

Request

  • Base URL: https://api.openfort.io/iam/v2/auth
  • URL: https://api.openfort.io/iam/v2/auth/link-social
  • Auth: HTTP bearer and API key in header x-project-key

Request body

callbackURLstring nullable

The URL to redirect to after the user has signed in

providerstring required
requestSignUpboolean nullable
scopesstring[] nullable

Additional scopes to request from the provider

errorCallbackURLstring nullable

The URL to redirect to if there is an error during the link process

disableRedirectboolean nullable

Disable automatic redirection to the provider. Useful for handling the redirection yourself

Response

Success

urlstring

The authorization URL to redirect the user to

redirectboolean required

Indicates if the user should be redirected to the authorization URL

statusboolean

Changes