discord provider opts
This commit is contained in:
parent
be12b8a5cd
commit
d5fac1c9ba
12
options.json
12
options.json
@ -11,7 +11,16 @@
|
|||||||
},
|
},
|
||||||
"validUserTypes": ["user", "service", "system"],
|
"validUserTypes": ["user", "service", "system"],
|
||||||
"registrationEnabled": true,
|
"registrationEnabled": true,
|
||||||
"requireCodeForRegister": true
|
"requireCodeForRegister": true,
|
||||||
|
"OAuthProviders": [
|
||||||
|
{
|
||||||
|
"name": "Discord",
|
||||||
|
"authoriseURL": "https://discord.com/oauth2/authorize",
|
||||||
|
"tokenURL": "https://discord.com/api/v10/oauth2/token",
|
||||||
|
"profileURL": "https://discord.com/api/v10/users/@me",
|
||||||
|
"iconURL": "https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a69f118df70ad7828d4_icon_clyde_blurple_RGB.svg"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"logger": {
|
"logger": {
|
||||||
"customTypes": ["access", "unauthorised"],
|
"customTypes": ["access", "unauthorised"],
|
||||||
@ -38,7 +47,6 @@
|
|||||||
"mongodb": {
|
"mongodb": {
|
||||||
"load": true,
|
"load": true,
|
||||||
"client": {
|
"client": {
|
||||||
"useNewUrlParser": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user