-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is a client secret created for new person? #68
Comments
Removing manually the |
I think this is the cause of the issue: auth/lib/auth_web/controllers/auth_controller.ex Lines 69 to 73 in a3dff03
When there isn't a referrer, one is automatically created with a client_id. |
@SimonLab as we clarified on our Remote Pairing (Zoom) call, What you need to do to get this working on your First: the Line 31 in a3dff03
from: "https://dwylauth.herokuapp.com" to: "http://localhost:4000"
And then in the Line 43 in a3dff03
Needs to be: "url" => "http://localhost:4000"
Copy the resulting Now it will work as you expect. 👍 The reason I have left the Hope this helps clarify. 🤞 |
I have updated the |
When this App is run on @SimonLab if you still experience any blockers related to this issue, please re-open. Thanks! 👍 |
I've been tested the login with email feature and found that the following line crash the application:
expected a map, got: nil
on localhostinvalid AUTH_API_KEY/client_id please check.
on heroku (once every two login attempt)auth/lib/auth_web/controllers/auth_controller.ex
Lines 364 to 366 in a3dff03
So the application doesn't manage to get a valid
client_secret
for the user so either it crashed when using theMap.get
function on anil
value or it returns an errorunauthorized
with:auth/lib/auth_web/controllers/auth_controller.ex
Lines 364 to 366 in a3dff03
I think this is due to the
referer
not properly set up.I continue to investigate to see why the referer url could produce this error
The text was updated successfully, but these errors were encountered: