generic-oauth2 icon indicating copy to clipboard operation
generic-oauth2 copied to clipboard

Silently refresh token in pwa

Open moberwasserlechner opened this issue 5 years ago • 0 comments

This is the task for implementing the refresh feature for PWA/Web. I sum up the relevant information from @dennisameling below.

Implicit flow (for now, see this article by Auth0 for details as to why it's still not considered safe to store a refresh token from the implicit flow in the browser). See #59

If we were to use the implicit flow for refreshing tokens, it would involve creating an iFrame to refresh the token without user interaction. The angular-oauth2-oidc library also uses iFrames for refreshing tokens, so we could take inspiration from that. See #60

moberwasserlechner avatar Jan 21 '20 15:01 moberwasserlechner