summaryrefslogtreecommitdiff
path: root/config/runtime.exs
diff options
context:
space:
mode:
authorLogan Hunt <logan.hunt@usu.edu>2023-01-31 17:01:02 -0700
committerLogan Hunt <logan.hunt@usu.edu>2023-01-31 17:01:02 -0700
commitf05daabe0d5eed26d18579e6c17a3631d48be30d (patch)
tree39ad9ffa62bd90f6378105f33eef19e1ebcef7f3 /config/runtime.exs
parent387ac72d1bdf44f882f3f1ae23b9415884234cbe (diff)
downloadchessh-f05daabe0d5eed26d18579e6c17a3631d48be30d.tar.gz
chessh-f05daabe0d5eed26d18579e6c17a3631d48be30d.zip
Incorrect server redirection uri fix
Diffstat (limited to 'config/runtime.exs')
-rw-r--r--config/runtime.exs4
1 files changed, 3 insertions, 1 deletions
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,