1.0.8 • Published 9 months ago

@atlantjs/http-client v1.0.8

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
9 months ago

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=