authorize-URL
DevelopingGET
/oauth2/discord/authorize-urlGet Discord url in order to ask user to authorise our application with his discord account.
Request
Query Params
redirectUri
string
required
Example:
https://delysium-sso-web.vercel.app/
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
url
string
required
nonce
string
required
Example
{
"url": "https://discord.com/api/oauth2/authorize?response_type=code&client_id=1006751575424913409&scope=identify%20connections%20email&state=0bd7a6dYX1Vm3VulF3Ght&redirect_uri=https://delysium.com&prompt=none",
"nonce": "0bd7a6dYX1Vm3VulF3Ght"
}
Last modified: 2 年前