authorize-URL
开发中GET
/oauth2/discord/authorize-urlGet Discord url in order to ask user to authorise our application with his discord account.
请求参数
Query 参数
redirectUri
string
required
Example:
https://delysium-sso-web.vercel.app/
示例代码
返回响应
Success(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
url
string
required
nonce
string
required
示例
{
"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"
}
最后修改时间: 2 years ago