Start Discord sign-in or account linking
curl --request GET \
--url https://my.server.express/api/v1/auth/oauth/discordconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/auth/oauth/discord', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/auth/oauth/discord"
response = requests.get(url)
print(response.text){
"success": false,
"error": "<string>"
}Auth
Start Discord sign-in or account linking
Redirects the browser to Discord’s consent screen (scopes identify email). With link=1 the callback goes to the client area’s link page (/client/link-callback/discord) instead of the sign-in callback. Discord sign-in only works for an account that’s already linked.
GET
/
v1
/
auth
/
oauth
/
discord
Start Discord sign-in or account linking
curl --request GET \
--url https://my.server.express/api/v1/auth/oauth/discordconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/auth/oauth/discord', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/auth/oauth/discord"
response = requests.get(url)
print(response.text){
"success": false,
"error": "<string>"
}Query Parameters
1 to link Discord to the signed-in account rather than sign in.
Available options:
1 Response
Redirect to Discord.