passport-openidconnect icon indicating copy to clipboard operation
passport-openidconnect copied to clipboard

InternalOAuthError: failed to obtain access token passport-openidconnect

Open tarakeshp opened this issue 6 years ago • 0 comments

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 image 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); }

tarakeshp avatar Feb 15 '19 09:02 tarakeshp