TalAter/UpUp

Refresh token

Romiko opened this issue · 0 comments

Hi,

Does the library support automatically refreshing expired access tokens with a long live med refresh token.

If my access token is expired, I been offline for over an hour. The queue will have http requests with expired bearer tokens. How can service workers be configured to refresh expired tokens?

We often have users go offline for several hours. To date the solution was using long lived access tokens, this however is not acceptable from a security requirement.

Much Appreciated for any advice.

SPA, react, chrome 78, oauth 2.0, openid, microsodt identity V2, react redux, nodejs API. Azure AD app registrations are used for client and API.