1.0.7 • Published 2 months ago

@sgpinkus/keycloak-js v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

KEYCLOCK-JS-SIMPLE

A simpler, less stateful, API compatibl-ish replacement for the official keycloak-js adapter. Only supports code authentication flow (since implicit is deprecated).

INSTALLATION

npm i @sgpinkus/keycloak-js

USAGE

import { Keycloak } from '@sgpinkus/keycloak-js';
const kc = new Keycloak({
  authServerUrl: 'http://localhost:8080',
  realm: 'testing',
  clientId: 'testing',
};
window.location.href = kc.getLoginUrl();

See sample-app for complete example.

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago