Skip to content

Commit

Permalink
Using new constructor for kc
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Jul 30, 2024
1 parent 3f7ee74 commit df30e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rmf-auth/lib/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class KeycloakAuthenticator
*/
constructor(config: Keycloak.KeycloakConfig | string, silentCheckSsoRedirectUri?: string) {
super();
this._inst = Keycloak(config);
this._inst = new Keycloak(config);
this._silentCheckSsoRedirectUri = silentCheckSsoRedirectUri;
}

Expand Down

0 comments on commit df30e33

Please sign in to comment.