OAuth Authentication

Link OAuth provider to current user

Changed on

Generates authorization URL to link OAuth provider to existing account. User must be authenticated.

post/auth/oauth/{provider}/link

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    HTTP bearer

Path parameters

provider, 'google' | 'github' | 'microsoft' | 'apple' required

Query parameters

redirect_url, string

URL to redirect to after linking completes (optional). Same allowed_redirect_urls requirement as GET /auth/oauth/{provider}/authorize.

client_state, string

Optional application nonce echoed to redirect_url as state.

response_mode, 'code'

Set to code to receive a short-lived authorization code at redirect_url. redirect_url is required in this mode. When omitted, the established session-fragment response is retained for compatibility with existing clients.

Response

Authorization URL generated

object required
authorization_url, string

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    9 more changes in this revision