diff --git a/projects/lib/src/oauth-service.ts b/projects/lib/src/oauth-service.ts index 3775b52f..aa699704 100644 --- a/projects/lib/src/oauth-service.ts +++ b/projects/lib/src/oauth-service.ts @@ -1956,7 +1956,7 @@ export class OAuthService extends AuthConfig implements OnDestroy { (err) => { console.error('Error getting token', err); this.eventsSubject.next( - new OAuthErrorEvent('token_refresh_error', err) + new OAuthErrorEvent('token_error', err) ); reject(err); }