From cac78a4f4eced88878e746d96b305ecc62826494 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 31 Jan 2023 14:01:35 -0700 Subject: Move to discord oauth --- config/config.exs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config/config.exs') diff --git a/config/config.exs b/config/config.exs index e9fca38..44230ae 100644 --- a/config/config.exs +++ b/config/config.exs @@ -17,8 +17,9 @@ config :chessh, RateLimits, create_game_rate: 2 config :chessh, Web, - github_oauth_login_url: "https://github.com/login/oauth/access_token", - github_user_api_url: "https://api.github.com/user" + discord_oauth_login_url: "https://discord.com/api/oauth2/token", + discord_user_api_url: "https://discord.com/api/users/@me", + discord_scope: "identify" config :joken, default_signer: "secret" -- cgit v1.2.3-70-g09d2