@spurreiter/keycloak-js

linted keycloak oidc client

Usage no npm install needed!

<script type="module">
  import spurreiterKeycloakJs from 'https://cdn.skypack.dev/@spurreiter/keycloak-js';
</script>

README

keycloak-js

This is a linted version of package keycloak-js with documentation for API methods. The original code is located here.

The minified versions for "base64-js", js-sha256" and a Promise polyfill have been removed to lower bundle size.

Usage

npm i @spurreiter/keycloak-js
import Keycloak from '@spurreiter/keycloak-js'

Using with initOptions.pkceMethod = 'S256'

import Keycloak from '@spurreiter/keycloak-js/keycloak-pkce'

License

Apache 2.0 as with the original package