OAuth2 Plugin

OAuth2 callback

Handles the OAuth2 callback from the provider. Exchanges the authorization code for tokens, creates or links a user account, and returns the authenticated user and session.

get/oauth2/callback/{provider}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

providerstring required

Query parameters

codestring required
statestring required
errorstring

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.