Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrerojosh committed Dec 16, 2022
1 parent afa3113 commit 569e1e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 569e1e2

Please sign in to comment.