v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01104135151.5 KB
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}

Path parameters

providerstring required

Query parameters

codestring required
statestring required
errorstring

Response

OK