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
  • URL: https://api.volcano.dev/auth/oauth/{provider}/link
  • Auth: HTTP bearer

Path parameters

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

Query parameters

redirect_urlstring

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

client_statestring

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

authorization_urlstring

Changes

    • ▲

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

    • ▲

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

    • ▲

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

    • ▲

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

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ▲

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

    • ▲

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

    • ▲

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

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ○

      added the new optional query request parameter client_state

    • ○

      added the new optional query request parameter redirect_url

    • ○

      added the new optional query request parameter response_mode

    • ○

      added the non-success response with the status