I have the ability to download / users / auth / facebook in my application to connect to facebook. I want to know where the request came from. Whether it was from a user who registers with facebook, or from an existing user who just wants to connect to facebook. Based on type, the answers are very different.
How can I pass a parameter while checking on omniauth. I tried:
/users/auth/facebook?connect_action=signup_connect_to_facebook
But this connection_action parameter did not do this when he clicked the AuthenticationsController # Create button
Ideas? Thansk
ruby-on-rails ruby-on-rails-3
AnApprentice Jul 11 2018-11-11T00: 00Z
source share