Library behaviour for sametimeresponses #189
Unanswered
vladstarikov88
asked this question in
Q&A
Replies: 1 comment
-
Having the same quest. I tried to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm interesting about case I faced into.
Imagine situation when token was expired and user is trying to call some requests. For example he loads
Dashboard
page with async requests/books
,/games
. And of course each of this responses will return401
code.And we have to get new token pair only once. Since it makes no sense to request a new pair of tokens twice
Does your library meet this requirement?
I've already solved the problem locally, only now I'm stuck on how to now return responses to the original requesters using the new token. So I want to use your solution
Beta Was this translation helpful? Give feedback.
All reactions