Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Always authorizing #48

zamith opened this Issue · 16 comments

7 participants


I'm using devise + omniauth + omniauth-twitter, and the user is always prompted with the "authorize app" window, and the URL accessed is

I've tried numerous ways to change this to authenticate (which I believe should be the default), with no success.

Any help?


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'm using:

omniauth (1.0.3)
omniauth-twitter (0.0.14)
devise (2.2.3)

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 ( 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! :thumbsup:

Maybe that should be added to the README? Though it seems a little bit out of the scope of the gem.


Thanks @wulffeld :+1:

@arunagw arunagw closed this

@wulffeld That worked for me too. Thanks. :+1:


Dear All,

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 "" (login page)

After login then twitter automatically redirects to the following url with these additional parameters only in FF its wired

"[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

"" (as same as FF)

then twitter automatically redirects to

"" with out any parameters and not prompting for 'Authorize App' and then it redirects to the callback url automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.