@atlantjs/mobile
v1.0.0
Published
## Install Install with: ```shell yarn add @atlantjs/keycloak-connect ```
Downloads
8
Readme
Keycloak Connect
Install
Install with:
yarn add @atlantjs/keycloak-connect
Setup
Add in #/modules/@common/generic/application/common.di-container
diContainer
.bind<AtlantjsAuthenticationService>(AtlantjsAuthenticationService)
.toSelf();
diContainer.bind(AuthenticationMiddlewareHandler).toSelf();
Add in .env
# App
# ====
ENVIRONMENT=development
CLIENT_CREDENTIALS_TOKEN_SECRET=
# Keycloack
# ====
KEYCLOAK_API_HOST=keycloak # Enter only the host, not the protocol ( x=> http/https)
KEYCLOAK_API_PORT=8080
KEYCLOAK_MOVINGAPP_REALM_PUBLIC_KEY_RS256=