[OSM-dev] OAuth - 401 Authorization Required (OAuth::Unauthorized)
tiny-grasshopper at gmx.net
Fri Sep 24 18:47:09 BST 2010
today a user on wheelmap.org complained about getting an "authorization required" error when authenticating his osm account via oauth.
I had a look into this issue and tried it my account. Result was the same error. So i went to the osm oauth example and ran the example code (http://wiki.openstreetmap.org/wiki/OAuth/Examples) to make sure everything was ok with osm, but it wasn't. I get the following errror:
First, go register a new application at
Tick the appropriate boxes
Enter the consumer key you are assigned:
Enter the consumer secret you are assigned:
Your application is now set up, but you need to register
this instance of it with your user account.
Visit the following URL, log in if you need to, and authorize the app
When you've authorized that token, press enter.
Converting request token into access token...
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/oauth-0.4.0/lib/oauth/consumer.rb:215:in `token_request': 401 Authorization Required (OAuth::Unauthorized)
from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/oauth-0.4.0/lib/oauth/tokens/request_token.rb:18:in `get_access_token'
Users who already authorized their app can use oauth mechanism perfectly. Just the authorization process seems to be fucked.
Am I the only one with this problem?
Any help is appreciated. Thank you very much.
More information about the dev