Closed jellybob closed 8 years ago
Is there a way you can reproduce the issue with a small example? This library is very simple and just uses OAuth2, and I did not have any issue.
I would definitely love to work with you to trace the issue out.
https://github.com/jellybob/traverse/tree/auth0-debugging/web is the code I'm working with. There's basically nothing there at the moment other than ueberauth, and enough Javascript to trigger the Auth0 dialog.
Would you mind double checking the following:
localhost:4000
in Auth0 callback URLs and CORs setting?Done - http://localhost:4000/auth/auth0/callback
was already in the call back list, but I've added the root as well now. Nothing was in CORS.
My initial debug shows two things:
Hi @jellybob ,
I have pushed a patch to use the new oauth2
version. Please give it a try.
Thanks, just updated and its working now :)
My Phoenix application is failing in the auth callback because the only response I can get from Auth0's token endpoint is "Unauthorized". I can use the same client ID/secret in Ruby's OAuth2 library, so I'm pretty confident its not a configuration issue. I also see the same behaviour when I try using the underlying Elixir OAuth2 library from an Elixir console.
Is this something you've seen before? I'm pretty stumped at this point, but would love to be able to use this library.