octopus-keycloakjs
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.5 • Public • Published

    octopus-keycloakjs

    NPM version npm download

    Install

    octopus-keycloakjs

    npm install --save octopus-keycloakjs
    

    Features

    - Define basic flow for connect with keycloak
    - Define login/refresh with jwt flow
    - Define logout/disconnect
    

    How it work

    Basic using

    • init with login:
    import { initLogin } from "octopus-keycloakjs";
    
    initLogin().then(token => {}).catch(error => {});
    
    • logout
    import { logout } from "octopus-keycloakjs";
    
    logout().then(() => {}).catch(error => {});
    

    Install

    npm i octopus-keycloakjs

    DownloadsWeekly Downloads

    2

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    23.2 kB

    Total Files

    36

    Last publish

    Collaborators

    • luonguit