Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

No route matches [GET] "/users/auth/linked_in" #5

Closed
dieuit07 opened this Issue Apr 12, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Hi , When I click to link : user_omniauth_authorize_path(:linked_in)
I have this error, twiter fb , google and yahoo run fine

My gem:

gem 'oa-openid',:require => 'openid/store/filesystem'

gem 'omniauth-twitter'
gem 'omniauth-facebook'
gem 'omniauth-linkedin'
gem 'omniauth-yammer'
gem 'omniauth-openid' ```

I config them in devise.rb 
`config.omniauth :facebook, '...', '...', :scope => 'email,user_education_history,user_work_history,offline_access'
  config.omniauth :twitter, '...', '...'
  config.omniauth :linked_in, '...', '...'
  config.omniauth :open_id, :store => OpenID::Store::Filesystem.new('/tmp'), :require => 'omniauth-openid'
  config.omniauth :open_id, :store => OpenID::Store::Filesystem.new('/tmp'), :name => 'google', :identifier => 'https://www.google.com/accounts/o8/id', :require => 'omniauth-openid'`

In user.rb I add:
`devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable ,:omniauthable`

Did I miss some config ?
Owner

skorks commented Apr 12, 2012

You haven't specified what error you're actually getting, however you should note that the name of the strategy is :linkedin not :linked_in. Chances are that's the cause of whatever issues you're having.

@skorks skorks closed this Apr 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment