Edushade Docs
Oauth

U: Link OAuth Account to User

POST
/oauth/link/{provider}
AuthorizationBearer <token>

In: header

Path Parameters

providerstring

OAuth provider

Defaultnull
codestring
Default"oauth-authorization-code"
statestring
Default"state-parameter"

Response Body

curl -X POST "https://edushade.com/api/v1/oauth/link/{provider}" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "oauth-authorization-code",
    "state": "state-parameter"
  }'
{}
Empty
Empty
Empty