0.0.6 • Published 12 months ago

@claudebernard/keycloak-js v0.0.6

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
12 months ago

Custom Keycloak JS

The documentation can be found in the Keycloak documentation.

Why we need a custom Keycloak JS

The official keycloak-js library does not support init Keycloak without refresh_token.

In our case we need to init Keycloak without refresh_token because we doesn't want to redirect user on Keycloak SSO page on first connexion and all page refresh. So we edit the library to support initialization only with a valid access_token, this allow user to not be redirected on Keycloak SSO page until the access_token is expired.

How to use

  1. Install the library
npm install @claudebernard/keycloak-js

Usage is the same as the official keycloak-js library, you just need to import the library from @claudebernard/keycloak-js instead of keycloak-js.

0.0.5

12 months ago

0.0.6

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago