I'm using devise + omniauth + omniauth-twitter, and the user is always prompted with the "authorize app" window, and the URL accessed is https://api.twitter.com/oauth/authorize.
I've tried numerous ways to change this to authenticate (which I believe should be the default), with no success.
Have the same problem. @zamith which omniauth version are you on? I was using an oldish v1.1.1. Trying the latest 1.1.3 to see if that will work.
I bundle updated it, not sure why it didn't update to the last version. I'll try to update it and see if it works.
So, I've tried with 1.1.3 and the problem remains...
@zamith There's a new option in your Twitter app settings (dev.twitter.com) you need to check. "Allow this application to be used to Sign in with Twitter". Then it works for me.
@wulffeld That's it, that solved it!
Maybe that should be added to the README? Though it seems a little bit out of the scope of the gem.
@wulffeld That worked for me too. Thanks.
Actually, I've done what you all said, but It's still the same.
I don't know why. Any idea about this
The same issue "authorize app" prompted only on FireFox and not on Chrome or Safari.
Appreciate your help or guidelines please ?
@shanmugarajan which version you are using? can you try with master branch
@raysrashmi I'm using omniauth-twitter-1.0.1. Catch over here is "authorize app" prompted only on FireFox and not on Chrome or Safari.
Any suggestions please ?
@shanmugarajan "Allow this application to be used to Sign in with Twitter" There is answer suggested by @wulffeld and its also include in README
Its working on all browsers including Firefox, Chrome and safari
It is prompting the 'Authorize App' only at FF when the account is not logged in already even though its second time or more..
Generally twitter only redirects to /authorize after login which is not completely in gem or at application control. But the authorize app prompt only for FF(with some parameters) but not on Chrome or Safari if you watch it keen.
Need some help to come out of this!
@shanmugarajan are you using devise with it? and what parameters you passing?
Yes i'm using devise with it.
Actually I didn't pass any parameters, but when using FF and when hitting the "sign-in with twitter" button first it goes to "https://api.twitter.com/oauth/authenticate?oauth_token=xxxxxxxx" (login page)
After login then twitter automatically redirects to the following url with these additional parameters only in FF its wired
"https://api.twitter.com/oauth/authorize?oauth_token=xxxxxxxx&session[username_or_email]=xxxxx" and prompting for 'Authorize App' (always)
At the same time when i'm trying it via Chrome or Safari first it goes to
"https://api.twitter.com/oauth/authenticate?oauth_token=xxxxxxxx" (as same as FF)
then twitter automatically redirects to
"https://api.twitter.com/oauth/authorize" with out any parameters and not prompting for 'Authorize App' and then it redirects to the callback url automatically.