The official version is Express, so this is Koa version. See here for more information
This keycloak adapter is forked from https://github.com/anthinkingcoder/keycloak-koa-connect. Fix some issues:
- Fix can not loyout user.
- Fix can not refresh accessToken for api request.
$ npm i @littlekelvin/keycloak-koa-connect
1. npm config set registry https://registry.npmjs.org/
2. npm login
3. npm publish
Please see /example
https://www.npmjs.com/package/@littlekelvin/keycloak-koa-connect