Search code examples
ruby-on-railsrubyomniauthmozillabrowserid

setting up omniauth-browserid (Mozilla Persona) in Rails


using Rails 3.2.9

added to Gemfile:

gem 'omniauth-broswerid'

ran:

bundle

browse to my app, click Login with Browserid button. Get the following error:

No route matches [GET] "/auth/browser_id/callback"

what am I missing?


Solution

  • Add This To your routes files

    match '/auth/:provider/callback', to: 'sessions#create'