From f05daabe0d5eed26d18579e6c17a3631d48be30d Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 31 Jan 2023 17:01:02 -0700 Subject: Incorrect server redirection uri fix --- config/runtime.exs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/runtime.exs') diff --git a/config/runtime.exs b/config/runtime.exs index 2be7431..ebdb2cc 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -8,7 +8,9 @@ config :chessh, Web, discord_client_secret: System.get_env("DISCORD_CLIENT_SECRET"), discord_user_agent: System.get_env("DISCORD_USER_AGENT"), client_redirect_after_successful_sign_in: - System.get_env("CLIENT_REDIRECT_AFTER_OAUTH", "http://127.0.0.1:3000/oauth-successfule"), + System.get_env("CLIENT_REDIRECT_AFTER_OAUTH", "http://127.0.0.1:3000/auth-successful"), + server_redirect_uri: + System.get_env("SERVER_REDIRECT_URI", "http://127.0.0.1:3000/api/oauth/redirect"), port: String.to_integer(System.get_env("WEB_PORT", "8080")) config :joken, -- cgit v1.2.3-70-g09d2