Skip to content
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

request.env['omniauth.origin'] always nil #137

Open
ramonpm opened this issue Feb 9, 2021 · 1 comment
Open

request.env['omniauth.origin'] always nil #137

ramonpm opened this issue Feb 9, 2021 · 1 comment

Comments

@ramonpm
Copy link

ramonpm commented Feb 9, 2021

Accordingly to omniauth gem documentation the origin is set to the referer but for oauth2 strategies it's always nil, is that expected or is it just with my app?

I can investigate it further later, but if anyone know it already could save me a lot of time.

Appreciate any help. Thanks!

@scott8803
Copy link

Not the case for me. Actually worse. Points to http://localhost:3001/auth/redirect/ which then causes an endless loop (in my case auth0 using their Quickstart code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants