Hi
SDK:- Latest REACT Auth0 SDK
In react, I’m storing access token in cookie. I want to update access token (grant_type
: “refresh_token”) after its expiry using getAccessTokenSilently.
And setup works fine until absolute lifetime of refresh token (refresh token rotation is enabled).
Once absolute lifetime of refresh token is over, getAccessTokenSilently logs out of application automatically.
But I want to show alert or warning before logging out user. How can I do that?
@dan.woda @lihua.zhang or anyone please help with it…
Regards
Rishi Tiwari