- Jul 01, 2020
-
-
Reiter, Christoph authored
The newest keycloak library supporst a mode for doing the redirect in an iframe with a separate page that needs to be whitelisted in keycloak. The newer version also finally fixes the native promise bugs so we might as well use the one from npm instead of fetching it from the keycloak server at runtime.
-
Reiter, Christoph authored
-
Reiter, Christoph authored
Move the keycloak code into its own class and try to abstract away as much as possible. We now also react to all keycloak related events so logout, re-login etc are handled as well.
-
Reiter, Christoph authored
Fetch it from the common environ
-
Reiter, Christoph authored
-
Reiter, Christoph authored
This is in parallel to the existing events to avoid breaking things. The goal here is to have one event which contains all the auth related information to which everyone interessted can subscribe to. The vpu-auth-update-request event can be emitted to trigger an update.
-
-
-
-
-
-
Reiter, Christoph authored
No final design, just a start.
-
-
-
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
-
TODO: rollup.config.js cleanup
-
-
-
Update vendor/common to enable caching on svg/icons
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
-
-
TODO: use them
-
(from material icon set)
-
Reiter, Christoph authored
This adds a hash which confuses keycloak and results in a redirect sometimes.
-
Reiter, Christoph authored
-
-
-
-
-
Reiter, Christoph authored
-
Reiter, Christoph authored
The keycloack token doesn't have to be the first thing in the hash so don't assume it starts with a #
-
Reiter, Christoph authored
We keep the login state in the session storage and force a login in case the user was logged in before. This means a page refresh will try to restore the login state (which usually should mean that it just flashes becasue of redirects). And new visitors get the logged out state by default.
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-