You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File name : passport-openidconnect\lib\strategy.js
Line number : 93
if (err) { self.error(new InternalOAuthError('failed to obtain access token', err) ) ;
the error is logged in the console. But it does not a failureRedirect for some reason.
on the browser it just display as below
My https is not valid though.
It should redirect to failure redirect url automatically.
So as quick fix, I am doing below.
if (err) {
self.error(new InternalOAuthError('failed to obtain access token', err))
return self.fail(err);
}
The text was updated successfully, but these errors were encountered:
File name : passport-openidconnect\lib\strategy.js
Line number : 93
if (err) { self.error(new InternalOAuthError('failed to obtain access token', err) ) ;
the error is logged in the console. But it does not a failureRedirect for some reason.
on the browser it just display as below

My https is not valid though.
It should redirect to failure redirect url automatically.
So as quick fix, I am doing below.
if (err) {
self.error(new InternalOAuthError('failed to obtain access token', err))
return self.fail(err);
}
The text was updated successfully, but these errors were encountered: