Closed
Description
I'm digging and trying to find solutions for several hours, but i got no luck. I hope I can have answer here.
I checked the gem 'omniauth', we can pass extra parameters like this:
/auth/facebook?listing_id=kh35887
And inside the callback phase, we can retrieve this parameter by calling #params
or request.env['omniauth.params']
, https://github.com/intridea/omniauth/blob/fc304abe2b56cb6efeff87efdc50d120f4d8e1c0/lib/omniauth/strategy.rb#L225.
/auth/facebook/callback?listing_id=kh35887
I tried this with the gem omniauth-twitter
, and it works as expected. However, omniauth-facebook
doesn't work with this extra parameters.
Metadata
Metadata
Assignees
Labels
No labels