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

Ajax call twice or multiple times #1

Open
ghost opened this issue Aug 17, 2018 · 1 comment
Open

Ajax call twice or multiple times #1

ghost opened this issue Aug 17, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 17, 2018

i tried testing this sample but found an issue, ajax calls are happening multiple times,

do you have any fix for this or its an configuration issue?

@kiril-chilingarashvili
Copy link
Owner

This sample solution works out of box for me.
Refresh token expiration time is set very low so downloaders can debug and tune it by themselves.
When refresh token is expired - there will be two extra requests - one for refreshing token, and one for retry last request.
Because of configuration this will happen pretty often - but you can set refresh token expiration to any value you like .
Sorry for replying so late - I just found this issue.

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

1 participant