- May 12, 2021
-
-
Reiter, Christoph authored
It always seems like the button is missing when loading the page and expecting the button there based on experience.
-
- Mar 23, 2021
-
-
Reiter, Christoph authored
-
- Feb 09, 2021
-
-
Bekerle, Patrizio authored
-
- Jan 27, 2021
-
-
Reiter, Christoph authored
-
- Dec 10, 2020
-
-
Reiter, Christoph authored
In case the login process takes some time we would show a "login" button which makes the user try to click it. There is a good chance that aroudn that time we get logged in, so the click will log the user out. Avoid that by not showing anything during logging in.
-
- 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.
-
- Aug 06, 2020
-
-
Reiter, Christoph authored
it's unused atm
-
- Jul 14, 2020
-
-
Bekerle, Patrizio authored
-
- Jul 02, 2020
-
-
Reiter, Christoph authored
lit-html no longer allows merging them in literals.
-
- Jul 01, 2020
-
-
Reiter, Christoph authored
This should make it more clear what the components are used for
-
Reiter, Christoph authored
-
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.
-