Skip to content

Commit c9a2c55

Browse files
author
Chaz Gatian
committed
fix: in code flow pass options to error handler
Closes #972
1 parent 8d152c2 commit c9a2c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/lib/src/oauth-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
16431643

16441644
if (parts['error']) {
16451645
this.debug('error trying to login');
1646-
this.handleLoginError({}, parts);
1646+
this.handleLoginError(options, parts);
16471647
const err = new OAuthErrorEvent('code_error', {}, parts);
16481648
this.eventsSubject.next(err);
16491649
return Promise.reject(err);

0 commit comments

Comments
 (0)