Whoops
This commit is contained in:
parent
049bd83256
commit
58eb3df0f4
@ -32,7 +32,7 @@ defmodule Chessh.Web.Endpoint do
|
|||||||
case :httpc.request(
|
case :httpc.request(
|
||||||
:post,
|
:post,
|
||||||
{String.to_charlist(discord_login_url), [], 'application/x-www-form-urlencoded',
|
{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
|
) do
|
||||||
|
Loading…
Reference in New Issue
Block a user