The page I am redirected to:
The link looks like this:
Output from my terminal, seems like it is code 302
I am using Ueberauth, Elixir, Phoenix.
The page I am redirected to:
The link looks like this:
Output from my terminal, seems like it is code 302
I am using Ueberauth, Elixir, Phoenix.
When you create variables in .env you need to source that too so it will work in your project directory by running the following command in terminal
source .env
if .env is in any folder e.g config/.env then
source config/.env
I had a same issue with little research its fixed with this command.
I found where the problem was.
I had problem that I just copy-pasted code from ueberauth_github and replaced the
GITHUB_CLIENT_ID
andGITHUB_CLIENT_SECRET
with my own.There is a problem that it calls
System.get_env
. So I changed it to:Now it works.