Create
Create OAuth2 Session
Creates a login token from a Discord OAuth2 login
codestring
Discord Oauth2 code
redirect_uristring
The redirect URI to return to after authorization
Response Body
application/json
application/json
curl -X POST "https://loading/oauth2" \ -H "Content-Type: application/json" \ -d '{ "code": "string", "redirect_uri": "string" }'{
"expiry": "2019-08-24T14:15:22Z",
"session_id": "string",
"token": "string",
"user": {},
"user_id": "string"
}{
"code": "InternalAuthError",
"message": "string"
}Last updated on