From 58eb3df0f4c74d84cc96ec8b5c748b7d1add4727 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 31 Jan 2023 17:04:15 -0700 Subject: [PATCH] Whoops --- lib/chessh/web/web.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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