search for: current_subdomain

Displaying 1 result from an estimated 1 matches for "current_subdomain".

2012 Oct 06
1
how to scope the /auth/:provider/callback , using OmniAuth for users and members
I have two separate groups of people authenticated w Devise , but in this case I cannot used the Devise embedded OmniAuth support. So i am using directly 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