Skip to content

Commit 449341c

Browse files
committed
fix: update resolve base url path
1 parent 18cca1a commit 449341c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class KeycloakService {
3131
throw new Error(`Invalid base url. It should start with either http or https.`)
3232
}
3333
this.options = options
34-
this.baseUrl = resolve(options.baseUrl, `/auth/realms/${options.realmName}`)
34+
this.baseUrl = resolve(options.baseUrl, `/realms/${options.realmName}`)
3535

3636
const keycloak: any = new KeycloakConnect({}, {
3737
resource: this.options.clientId,

0 commit comments

Comments
 (0)