Skip to content

Commit

Permalink
feat: removed PIA references from keycloak-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy committed Mar 13, 2024
1 parent 7a647f7 commit a23e799
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion libs/keycloak-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"peerDependencies": {
"@angular/common": ">=15.2.7",
"@angular/core": ">=15.2.7",
"@onecx/portal-integration-angular": "~4",
"@onecx/angular-integration-interface": "~4",
"keycloak-angular": "^13.0.0",
"keycloak-js": "^18.0.0",
Expand Down
4 changes: 2 additions & 2 deletions libs/keycloak-auth/src/lib/keycloak-auth.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NgModule, ModuleWithProviders } from '@angular/core'
import { CommonModule } from '@angular/common'
import { AUTH_SERVICE } from '@onecx/portal-integration-angular'
import { AUTH_SERVICE } from '@onecx/angular-integration-interface'
import { KeycloakAuthService } from './keycloak-auth.service'
import { KeycloakAngularModule } from 'keycloak-angular'
import { HTTP_INTERCEPTORS } from '@angular/common/http'
Expand All @@ -11,7 +11,7 @@ export interface KeycloakAuthModuleConfig {
tokenInterceptorWhitelist?: string[]
}
/**
* Authentication module for keycloak. Requires @onecx/portal-integration-angular and keycloak-js to work.
* Authentication module for keycloak. Requires @onecx/angular-integration-interfacer and keycloak-js to work.
*/
@NgModule({
imports: [CommonModule, KeycloakAngularModule],
Expand Down
2 changes: 1 addition & 1 deletion libs/keycloak-auth/src/lib/token.interceptor.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Inject, Injectable, Optional } from '@angular/core'
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'
import { AUTH_SERVICE, IAuthService } from '@onecx/angular-integration-interface'
import { Observable } from 'rxjs'
import { AUTH_SERVICE, IAuthService } from '@onecx/portal-integration-angular'
import { KeycloakAuthModuleConfig } from './keycloak-auth.module'
import { KEYCLOAK_AUTH_CONFIG } from './keycloak-injection-token'

Expand Down

0 comments on commit a23e799

Please sign in to comment.