Displaying 1 result from an estimated 1 matches for "omniauth_callbacks".
2012 Oct 06
1
how to scope the /auth/:provider/callback , using OmniAuth for users and members
...ctly the OmniAuth gem.
Initialized w :
Rails.configuration.middleware.use OmniAuth::Builder do
..provider :twitter,
..
end
It''s running fine , but I have an issue with the callback route
mapping :
I tried
match ''/users/auth/:provider/callback'', to: ''users/
omniauth_callbacks#create''
match ''/members/auth/:provider/callback'', to: ''members/
omniauth_callbacks#create''
but the provider ( fb , twitter, google) claimebd about the callback
uri :
"/auth/:provider/callback"
..
as the path_prefix (:path_prefix => &qu...