Browse Source

Merge pull request #7532 from abpframework/refactor/revoke-token

Used the revokeTokenAndLogout of OAuthService instead of logOut method
pull/7538/head
Muhammed Altuğ 6 years ago
committed by GitHub
parent
commit
401c652660
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      npm/ng-packs/packages/core/src/lib/strategies/auth-flow.strategy.ts

3
npm/ng-packs/packages/core/src/lib/strategies/auth-flow.strategy.ts

@ -70,7 +70,8 @@ export class AuthCodeFlowStrategy extends AuthFlowStrategy {
}
logout() {
this.oAuthService.logOut();
this.oAuthService.revokeTokenAndLogout();
// TODO: no need to return of(null). It may be removed in v5.0.
return of(null);
}

Loading…
Cancel
Save