Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble switching between read and read+write logins #76

Closed
mlapeter opened this issue May 1, 2014 · 1 comment
Closed

Trouble switching between read and read+write logins #76

mlapeter opened this issue May 1, 2014 · 1 comment

Comments

@mlapeter
Copy link

mlapeter commented May 1, 2014

Thanks for making this!

My app has some users who need read+write, but the majority just need read, so my login link is: "auth/twitter?x_auth_access_type=read"

For users who need read+write, I use: "auth/twitter?x_auth_access_type=write"

Both work, but if a user who originally logged in with one type of permission tries to login using the other one, twitter hangs with the message "(twitter) Request phase initiated."

Using this link: "auth/twitter?use_authorize=true" makes it work so either type of user can login, but it requires users to re-authorize the app each time they login (as it's supposed to).

Is there a way that users can switch between the two x_auth options without it hanging, or do I just need to require all users to re-authorize the app each time using use_authorize=true for it to work? My goal is for the majority of users to have seamless read only login from homepage, but then to not have it break if a previous read+write user tries that main login on the homepage (they would then click the read+write link from within the app when they need to authorize writes).

@raysrashmi
Copy link
Collaborator

@mlapeter Is it like one application using twitter account or two application using same account with different permissions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants