Skip to content

This handler receives the ?code=<>&state=<>, uses it to get an external oauth token, gets the user's information, creates a new local user if needed, and finally mints our own tokens.

GET
/api/auth/v1/oauth/{provider}/callback
provider
required
string
code
required
string
state
required
string

Redirect.