Storyden
Auth

O Auth Provider Callback

OAuth2 callback.

OAuth2 callback.

POST/auth/oauth/{oauth_provider}/callback
storyden-session<token>

In: cookie

Path Parameters

oauth_providerstring

The identifier for an OAuth2 provider such as "twitter".

statestring
codestring

Response Body

curl -X POST "https://loading/api/auth/oauth/twitter/callback" \  -H "Content-Type: application/json" \  -d '{    "state": "string",    "code": "string"  }'
{
  "id": "string"
}
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}