koa-keycloak-example

0.1.0 • Public • Published

Basic Koa Example

Start and configure Keycloak

Start Keycloak:

Docker

Using the image from https://hub.docker.com/r/jboss/keycloak/

docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin jboss/keycloak

Standard

/<Path-To-Keycloak>/bin/standalone.sh

Open the Keycloak admin console, click on Add Realm, click on import 'Select file', select nodejs-example-realm.json and click Create.

Link the HEAD code of keycloak-connect by running:

npm link ../

Install the dependencies and start NodeJS example by running:

npm install
npm start

Open the browser at http://localhost:8081/ and login with username: 'user', and password: 'password'.

Readme

Keywords

none

Package Sidebar

Install

npm i koa-keycloak-example

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • anthinkingcoder