Error 404 from Github using Ueberauth

651 Views Asked by At
2

There are 2 best solutions below

2
On

I found where the problem was.

I had problem that I just copy-pasted code from ueberauth_github and replaced the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET with my own. config :ueberauth

There is a problem that it calls System.get_env. So I changed it to:

enter image description here

Now it works.

0
On

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.