Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth:Unauthorized (401) #15

Open
listenlight opened this issue May 30, 2010 · 2 comments
Open

OAuth:Unauthorized (401) #15

listenlight opened this issue May 30, 2010 · 2 comments

Comments

@listenlight
Copy link

I found a blog post that said to change the before_filter but that is not working. I keep getting this error. Please help. I can find no other help on this.


OAuth::Unauthorized (401 Unauthorized):
  oauth (0.4.0) lib/oauth/consumer.rb:215:in `token_request'
  oauth (0.4.0) lib/oauth/consumer.rb:136:in `get_request_token'
  /usr/lib/ruby/gems/1.8/gems/authlogic-oauth-1.0.8/lib/authlogic_oauth/oauth_process.rb:21:in `redirect_to_oauth'
  /usr/lib/ruby/gems/1.8/gems/authlogic-oauth-1.0.8/lib/authlogic_oauth/acts_as_authentic.rb:63:in `save'
  app/controllers/users_controller.rb:11:in `create'
  haml (2.2.24) rails/./lib/sass/plugin/rails.rb:20:in `process'
  /usr/lib/ruby/gems/1.8/gems/authlogic-oauth-1.0.8/lib/oauth_callback_filter.rb:10:in `call'
  /usr/lib/ruby/gems/1.8/gems/authlogic-oauth-1.0.8/lib/oauth_callback_filter.rb:10:in `call'
@madhums
Copy link

madhums commented Oct 5, 2010

i have got the same problem too...

@madhums
Copy link

madhums commented Oct 5, 2010

i figured it out... you should give the proper token and secret values in the Oauth::consumer function...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants