From 569e1e2592c0bafcf214b54655131e78e6ec5da8 Mon Sep 17 00:00:00 2001 From: John Joshua Ferrer Date: Fri, 16 Dec 2022 22:52:14 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 749275d..9b03030 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ npm install nest-keycloak-connect keycloak-connect --save Registering the module: ```typescript KeycloakConnectModule.register({ - authServerUrl: 'http://localhost:8080/auth', + authServerUrl: 'http://localhost:8080', // might be http://localhost:8080/auth for older keycloak versions realm: 'master', clientId: 'my-nestjs-app', secret: 'secret', @@ -66,7 +66,7 @@ export class KeycloakConfigService implements KeycloakConnectOptionsFactory { createKeycloakConnectOptions(): KeycloakConnectOptions { return { - authServerUrl: 'http://localhost:8080/auth', + authServerUrl: 'http://localhost:8080', // might be http://localhost:8080/auth for older keycloak versions realm: 'master', clientId: 'my-nestjs-app', secret: 'secret',