2013-03-26 4 views
0

Am en utilisant gem omniauth-evernoteOminauth-evernote, OAuth :: 401 non autorisée non autorisée

omniauth.rb

provider :evernote, EVERNOTE_CONSUMER_KEY, EVERNOTE_CONSUMER_SECRET ,:client_options => { :site => 'https://www.evernote.com' } 

Je ne suis pas en mesure de comprendre pourquoi cela se passe Si je tente bac à sable 'https://sandbox.evernote.com' tout fonctionne parfaitement bien. Mais j'ai besoin de prodution.

dans le journal du serveur, c'est l'erreur

OAuth::Unauthorized (401 Unauthorized): 
    oauth (0.4.7) lib/oauth/consumer.rb:216:in `token_request' 
    oauth (0.4.7) lib/oauth/consumer.rb:136:in `get_request_token' 
    omniauth-oauth (1.0.1) lib/omniauth/strategies/oauth.rb:29:in `request_phase' 

S'il vous plaît aidez-moi

Répondre

Questions connexes