- Nov 11, 2020
-
-
Reiter, Christoph authored
not supported in firefox 68
-
- 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.
-
Bekerle, Patrizio authored
-
- Nov 09, 2020
-
-
Bekerle, Patrizio authored
-
Reiter, Christoph authored
idpHint is only a login option, not an init one
-
Reiter, Christoph authored
npm has started to complain that yarn uses a different node binary, so just use yarn everywhere.
-
Reiter, Christoph authored
While this shouldn't make a difference because the callback should only be called when the token is about to be expiring there is no reason to keep the old token around. Just force a refresh always
-
Bekerle, Patrizio authored
-
- Oct 15, 2020
-
-
Reiter, Christoph authored
We no longer bundle keycloak-js with rollup so we can remove those special cases.
-
Reiter, Christoph authored
This makes sure the library version works with the server version. Ideally we'd also want to check the version so we can error out if a too old keycloak server is on the other side, but I don't see any public API changes that would allow us to know if the library is too old. Fixes #32
-
Reiter, Christoph authored
See #32
-
- Oct 13, 2020
-
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
Reiter, Christoph authored
I couldn't find any breaking changes affecting us
-
Reiter, Christoph authored
-
- Sep 08, 2020
-
-
Steinwender, Tamara authored
-
- Aug 06, 2020
-
-
Reiter, Christoph authored
it's unused atm
-
- Jul 20, 2020
-
-
Reiter, Christoph authored
Instead of hardcoding the paths of the node_modules directory we use the node-resolve plugin of rollup to find the root of the corresponding JS package and calcucate a path from there. Resolving a package requires calling an async function, so we have to use await in the rollup config. Luckily rollup supports configs wrapped in a promise, so we just have to wrap it in a function which returns a promise.
-
- Jul 16, 2020
-
-
Reiter, Christoph authored
Since they are no longer in separate repos we no longer need the gitlab CI config files.
-
Reiter, Christoph authored
We couldn't do this until now because we referenced them by a relative path with npm. But now that we reference them by name and yarn handles the linking we can specify them as normal dependencies.
-
Reiter, Christoph authored
-
- Jul 14, 2020
-
-
Bekerle, Patrizio authored
-
- Jul 08, 2020
-
-
Reiter, Christoph authored
They are not published yet
-
- Jul 07, 2020
-
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
- Jul 02, 2020
-
-
Reiter, Christoph authored
This switches bak to the original lookup algo. Required since we now use lerna which moves the common deps to the root package.
-
Reiter, Christoph authored
lit-html no longer allows merging them in literals.
-
- Jul 01, 2020
-
-
Reiter, Christoph authored
-
Reiter, Christoph authored
our CI can't handle it
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
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
-
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.
-