omniauth-oauth2 icon indicating copy to clipboard operation
omniauth-oauth2 copied to clipboard

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

Open ramonpm opened this issue 4 years ago • 1 comments

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!

ramonpm avatar Feb 09 '21 21:02 ramonpm

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)

scott8803 avatar Nov 19 '22 16:11 scott8803