Skip to content

Commit

Permalink
throw token_error instead of token_refresh_error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Wehrli committed Nov 14, 2024
1 parent 0335790 commit a14935b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/lib/src/oauth-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a14935b

Please sign in to comment.