Skip to main content

Callback from a strategy

Callback from a strategy. This is the endpoint where the strategy will redirect the user after successful authentication. This endpoint will be called with the code and state query parameters. The code will be used to get the access token from the strategy and the state will be used to get the return_to url from the session and redirect the user to that url.

Request Body required
    strategyName strategy_name will not be set for oidc but can be utilized for methods like email magic links
    state for oidc & magic links
    code string
Responses

A successful response.


Schema

    object

Loading...