keycloak-auth-utilsdeprecated

Keycloak OAuth client.

Usage no npm install needed!

<script type="module">
  import keycloakAuthUtils from 'https://cdn.skypack.dev/keycloak-auth-utils';
</script>

README

keycloak-auth-utils

Build Status js-semistandard-style Coverage Status

Reporting security vulnerabilities

If you've found a security vulnerability, please look at the instructions on how to properly report it

Contributing

Please read the contributing guide

Provides grant-management utilities.

Install

npm install --save keycloak-auth-utils

GrantManager

  • Can obtain a grant through the direct API using name/password.
  • Can renew any token using a refresh_token.
  • Validates grants/tokens.

Grant

Embodies access_token, refresh_token and other handiness.

Token

Embodies JSON Web Token bits and checking for roles.

Resources