discord provider opts

This commit is contained in:
Erik 2022-11-27 23:20:18 +02:00
parent be12b8a5cd
commit d5fac1c9ba
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -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
} }
} }
} }