Skip to content

Proper way to get response headers from API #1240

Answered by JoviDeCroock
viiiprock asked this question in Q&A
Discussion options

You must be logged in to vote

Generally I'd advise to use cookies for this purpose, you could also choose to return the new token as part of the extensions field. You should also consider the point that implicit token refreshes often lead to scenario's where in multiple concurrent calls multiple tokens are refreshed at the same time which can end up leaving the user with an invalidated token.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@viiiprock
Comment options

Answer selected by viiiprock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants