From d5fac1c9ba378df0df6ede35238ab4308526608f Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sun, 27 Nov 2022 23:20:18 +0200 Subject: [PATCH] discord provider opts --- options.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/options.json b/options.json index f186de4..daf0e43 100644 --- a/options.json +++ b/options.json @@ -11,7 +11,16 @@ }, "validUserTypes": ["user", "service", "system"], "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": { "customTypes": ["access", "unauthorised"], @@ -38,7 +47,6 @@ "mongodb": { "load": true, "client": { - "useNewUrlParser": true } } }