- Jan 27, 2021
-
-
Reiter, Christoph authored
Replace with the event bus for now
-
- Jan 25, 2021
-
-
Bekerle, Patrizio authored
-
- Jan 14, 2021
-
-
Bekerle, Patrizio authored
-
- Jan 12, 2021
-
-
Bekerle, Patrizio authored
-
- Nov 17, 2020
-
-
Reiter, Christoph authored
Add a scope so we don't have to care about naming conflicts and set the verison to 0.1.0 since we don't have a stable API yet.
-
- Nov 10, 2020
-
-
Reiter, Christoph authored
The keycloak library currently only sends us an event in case the token is about to expire, which is problematic because there is a time window where we don't have a new token yet and on mobile the timers used might be suspended and come too late. To avoid this we check every 10 seconds that the token is valid for 30 and to work around suspended timers we also check on "visibilitychange" which should trigger then the website gets visible again after the browser sleeps.
-
- Sep 08, 2020
-
-
Steinwender, Tamara authored
-
- Jul 14, 2020
-
-
Bekerle, Patrizio authored
-
- Jul 01, 2020
-
-
Reiter, Christoph authored
Now that we have a separate component for keyclaok we can move those keycloak specific settings into their own attributes.
-
Reiter, Christoph authored
This should make it more clear what the components are used for
-
Reiter, Christoph authored
vpu-auth listens to login/logout events which the button emits and the button shows data from the auth-update event.
-
Reiter, Christoph authored
-
Reiter, Christoph authored
Same hover effect, padding and cleanup the CSS etc.
-
Reiter, Christoph authored
It should only span the whole width in mobile mode
-
Reiter, Christoph authored
This should make it work in all (LTR at least) cases.
-
Reiter, Christoph authored
We don't want it to make the page scroll when the display is really small
-
Reiter, Christoph authored
By setting a max-width on the element it will use ellipsis to shorten the user name
-
Reiter, Christoph authored
This reverts commit 1416d0ac942c8bf6f6d52efc03f9f59e6087b2fe.
-
See issue #9
-
Reiter, Christoph authored
-
Reiter, Christoph authored
If the page prevents the default handler in beforeunload the logout never occurs and we end up in an endless transient "logging-out" state. Prevent this by reverting the login status back in that case.
-
Reiter, Christoph authored
We don't want to depend on harcoded values in the build
-
Reiter, Christoph authored
No longer needed
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
Reiter, Christoph authored
These scopes get used for the keycloak login and in case they are registered as optional scopes for that client get added to the access token. See #7
-
Reiter, Christoph authored
This makes it easier to test actual requests and to debug the token content
-
Reiter, Christoph authored
-
(open menu with ENTER key) See issue #6
-
Reiter, Christoph authored
-
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
Reiter, Christoph authored
Makes it focusable and react to keyboard events
-
Reiter, Christoph authored
We need to override everything on the prod server, and having everything in one object makes it clear what is keycloak specific (we could also prefix everything...).
-
Reiter, Christoph authored
So we can use the update event to wait for the global variables in other components. Also don't log the status when we get a request as with mulitple users we spam the logs. Moved to the app receiving the events instead.
-
Reiter, Christoph authored
We use it bundled in the API docs and need to set the right server depending on the api build env.
-
See issue #3
-
Reiter, Christoph authored
This can happen when the session expires, for example if the user has logged out in another window. This is useful whenn you want to use "logging-out" to clear user related data.
-
Reiter, Christoph authored
Every change to person etc should also mean a new token, so we can reduce duplicated events by checking if the token has changed.
-