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

Explicitly do not invalidate token #772

Closed
tomascharad opened this issue Nov 18, 2016 · 1 comment
Closed

Explicitly do not invalidate token #772

tomascharad opened this issue Nov 18, 2016 · 1 comment

Comments

@tomascharad
Copy link

tomascharad commented Nov 18, 2016

Hi,

I have an action that allows to upload files to S3.
When doing this, there are some cases that the user does not wait this query to be done and navigates to another page without receiving the new token. This causes the user to log out.

Is there any way in which I could tell devise_token_auth to not invalidate the token on these 'long' actions?

@zachfeldman
Copy link
Contributor

Maybe offload this to a background job, and show the status using subsequent requests? Since ther hasn't been a lot of activity on this, closing for now.

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