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/api/auth/oauth2/callback/{provider}

Path parameters

providerstring required

Query parameters

codestring required
statestring required
errorstring

Response

OK

Changes