SPA, PWA offline mode, localStorage + rotating tokens?

Can I summarise this in an answer as: Yes. Rotating refresh tokens improve security when using localStorage and are the preferred choice when remaining authenticated offline is used?

In addition, for other people stumbling upon this topic who are entirely new to authentication/authorization; I found this useful to start understanding the aformentioned “scopes”:

https://auth0.com/docs/protocols/oauth2

1 Like