Open pierrelefevre opened 1 month ago
Base work in 4b787ba, waiting on https://github.com/kthcloud/go-deploy/issues/667 before merging. Might be a good idea to handle the JWT in a more persistent way, the current way is prone to losing it if the background thread stops and restarts.
Also not sure how to handle the refresh token, I assume it needs to be refreshed at some point from keycloak
Since the app is spa/react it should be easy to add a service worker. We can then use the Notification and Push APIs to send out the existing notifications.
https://developer.mozilla.org/en-US/docs/Web/API/notification https://developer.mozilla.org/en-US/docs/Web/API/Push_API