diff --git a/npm/ng-packs/packages/core/src/lib/services/auth.service.ts b/npm/ng-packs/packages/core/src/lib/services/auth.service.ts index 5ae13a4012..0c38b22acf 100644 --- a/npm/ng-packs/packages/core/src/lib/services/auth.service.ts +++ b/npm/ng-packs/packages/core/src/lib/services/auth.service.ts @@ -50,11 +50,17 @@ export class AuthService { } logout(): Observable { + const issuer = this.store.selectSnapshot(ConfigState.getDeep('environment.oAuthConfig.issuer')); + return this.rest - .request({ - method: 'GET', - url: '/api/account/logout', - }) + .request( + { + method: 'GET', + url: '/api/account/logout', + }, + null, + issuer, + ) .pipe( switchMap(() => { this.oAuthService.logOut();