-
Notifications
You must be signed in to change notification settings - Fork 125
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
With oAuth 2.0 user is having to authenticate repeatedly #13
Comments
I dealt with it myself, by saving the token and token secret after first authentication. Its not fully worked out yet, handling logout, expired tokens etc. but it solves the problem loading every app load.
|
Also see: #8 |
@paulfreeman - Yep, @14lox is correct, you are responsible for storing tokens yourself. I hope to change this at some point (see the aforementioned issue #8). It's also worth noting that this SDK currently uses OAuth 1, not OAuth 2, and your tokens will never expire. I am going to close this issue since that one already exists. |
One thing re: OAuth tokens - how do you properly deal with logging out one user and allowing another to log in? Would you just simply delete the tokens internally and then just go through the login process again? |
Yes, exactly. On Fri, Apr 12, 2013 at 7:43 PM, Dai Hovey [email protected]
|
Thanks for the update |
This may be due to a programming error on my part, but there is a problem with our App retaining the signin via oAuth 2.0.
Each time the app starts it has to re-authent, i.e.: kicks out to the web browser and the auth page and then back to the app.
Is there anything we have to do regarding timeouts, preserving the login state to stop this happening?
The text was updated successfully, but these errors were encountered: