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

How to refresh token/expiry? #275

Closed
JoshuaNovak919 opened this issue Jun 23, 2015 · 2 comments
Closed

How to refresh token/expiry? #275

JoshuaNovak919 opened this issue Jun 23, 2015 · 2 comments

Comments

@JoshuaNovak919
Copy link

I have an iOS/Android app that I am connecting to my API and I obviously don't want the user's session to expire if they've opened the app recently simliar to facebook etc. Is there a way to refresh the token/expiry so they can stay logged in?

@nickL
Copy link
Contributor

nickL commented Jul 2, 2015

@JoshuaNovak919 would user#create_new_auth_token work for you?

@JoshuaNovak919
Copy link
Author

I actually had to switch to a different system since I could not get Facebook/Twitter working properly with this gem. I have them nested in an api and v1 namespace so it wouldn't work.

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

3 participants