Skip to content

Commit 647de44

Browse files
Merge pull request #973 from cgatian/cgatian/code-flow-options-on-error
fix: in code flow pass options to error handler
2 parents 047ba35 + c9a2c55 commit 647de44

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
@@ -1727,7 +1727,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
17271727

17281728
if (parts['error']) {
17291729
this.debug('error trying to login');
1730-
this.handleLoginError({}, parts);
1730+
this.handleLoginError(options, parts);
17311731
const err = new OAuthErrorEvent('code_error', {}, parts);
17321732
this.eventsSubject.next(err);
17331733
return Promise.reject(err);

0 commit comments

Comments
 (0)