Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silently refresh token in pwa #65

Open
moberwasserlechner opened this issue Jan 21, 2020 · 0 comments
Open

Silently refresh token in pwa #65

moberwasserlechner opened this issue Jan 21, 2020 · 0 comments
Labels
enhancement New feature or request web

Comments

@moberwasserlechner
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request web
Projects
None yet
Development

No branches or pull requests

1 participant