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