diff --git a/projects/lib/src/oauth-service.ts b/projects/lib/src/oauth-service.ts index 7ef9e7f0..66454046 100644 --- a/projects/lib/src/oauth-service.ts +++ b/projects/lib/src/oauth-service.ts @@ -1335,6 +1335,7 @@ export class OAuthService extends AuthConfig { if (this.clearHashAfterLogin && !options.preventClearHashAfterLogin) { location.hash = ''; } + this.callOnTokenReceivedIfExists(options); return Promise.resolve(); }