diff options
author | Logan Hunt <logan.hunt@usu.edu> | 2023-01-31 17:04:15 -0700 |
---|---|---|
committer | Logan Hunt <logan.hunt@usu.edu> | 2023-01-31 17:04:15 -0700 |
commit | 58eb3df0f4c74d84cc96ec8b5c748b7d1add4727 (patch) | |
tree | 02d2d1c7d06ab7a3cc6c241f7d7bd8ff343932c2 | |
parent | 049bd83256086bad46ac853d97faffdac505f9eb (diff) | |
download | chessh-58eb3df0f4c74d84cc96ec8b5c748b7d1add4727.tar.gz chessh-58eb3df0f4c74d84cc96ec8b5c748b7d1add4727.zip |
Whoops
-rw-r--r-- | lib/chessh/web/web.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chessh/web/web.ex b/lib/chessh/web/web.ex index 7b2f696..aac57fc 100644 --- a/lib/chessh/web/web.ex +++ b/lib/chessh/web/web.ex @@ -32,7 +32,7 @@ defmodule Chessh.Web.Endpoint do case :httpc.request( :post, {String.to_charlist(discord_login_url), [], 'application/x-www-form-urlencoded', - 'scope=#{discord_scope}&client_id=#{client_id}&client_secret=#{client_secret}&code=#{req_token}&grant_type=authorization_code&redirect_uri=http://127.0.0.1:3000/api/oauth/redirect'}, + 'scope=#{discord_scope}&client_id=#{client_id}&client_secret=#{client_secret}&code=#{req_token}&grant_type=authorization_code&redirect_uri=#{redirect_uri}'}, [], [] ) do |