diff options
author | Logan Hunt <logan.hunt@usu.edu> | 2023-01-31 14:01:35 -0700 |
---|---|---|
committer | Logan Hunt <logan.hunt@usu.edu> | 2023-01-31 14:04:23 -0700 |
commit | cac78a4f4eced88878e746d96b305ecc62826494 (patch) | |
tree | 33d1d43d7049a30753af82bab600f721e9f8ac67 /config/config.exs | |
parent | e5d97870a12ec87bd463b7657923bb79d3bcb4cc (diff) | |
download | chessh-cac78a4f4eced88878e746d96b305ecc62826494.tar.gz chessh-cac78a4f4eced88878e746d96b305ecc62826494.zip |
Move to discord oauth
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 5 |
1 files changed, 3 insertions, 2 deletions
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" |