devise_token_auth_demo
devise_token_auth_demo copied to clipboard
Demo "Authenticate using an oauth2 provider" is not working
In the Authenticate using an oauth2 provider form, select Github or Google. The authentication proceeds without failure, however, subsequent requests show the Account Info values are nil.
FWIW, I built a similar app and can create a user with the omniauth github, but authenticate_user! fails in follow-up requests (and the auth headers are present). Perhaps this is also what the demo is experiencing.
I have the same problem. How can I solve this?
Hey, repo owners! I got the same problem.
What kind of a template for callback path in github/google it should be? I've tried
-
http://mysuperdemo:3001/auth/github/callback It complains about:
{"error"=>"redirect_uri_mismatch", "error_description"=>"The redirect_uri MUST match the registered callback URL for this application.", "error_uri"=>"https://developer.github.com/v3/oauth/#redirect-uri-mismatch", "state"=>"51dd36e07c347d8f65c86fa6eec17a489aa6ce653bba9aa7", "provider"=>"github"}
-
http://mysuperdemo:3001/omniauth/github/callback It just prints
an error occured