Closed matadon closed 9 years ago
I'm having the same issue
Its working for me. can you provide sample app? @matadon
I can, but what I have now is pretty basic. One question -- when you test it, do you have a publicly-routable box, with a publicly-resolvable DNS entry?
I figured out my issues, I had a typo hiding on me. Fixed that and I got it working.
@matadon for my situation I am not using a publicly resolvable DNS entry when testing and it works fine. you should be able to do 127.0.0.1
My host is set up via mDNS in a local virtual machine with SSL, so access-by-IP is out. Hmm... will try a public DNS alias to that local IP and see what happens.
By the way, what was the typo? Maybe I cocked up in the same way.
Same issue here; The token request seems to be failing.
OAuth::Unauthorized - 401 Authorization Required:
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'
@matadon majorly slow reply here, sorry. I believe I had a typo in the callback URL
Setting up a new Rails app with omniauth with a variety of providers.
omniauth-github
andomniauth-facebook
work fine, but I get401 Unauthorized
foromniauth-twitter
I've regenerated my app keys, but no dice, and unfortunately the twitter oAuth tool is down so that they can advertise for a conference.
httplog
gives the following log output -- and yes, these are not my real consumer key, nonce, and signature. :)Any ideas? Anything obvious I might have missed?