diff --git a/src/authService.js b/src/authService.js index 7565228..6f961f0 100644 --- a/src/authService.js +++ b/src/authService.js @@ -354,6 +354,10 @@ export class AuthService { this.authentication.redirect(redirectUri, this.config.logoutRedirect); + if (typeof this.onLogout === 'function') { + this.onLogout(response); + } + resolve(response); });