c# - Asp.NET Web API - Multiple requests during access token refreshing - Unauthorized 401 -


i have application makes multiple requests api render parts of page.

when user's access token expires first request sends refresh token, gets new access token , updates cookie storing it, requests async, before updating cookie other requests send old, invalid token, api returns 401 unauthorized.

how should handle this? there way make other requests wait access token refresh?


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -