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
{{ message }}
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
Got a problem for OIDC strategy on line 1030 in oidcstrategy.js
// token_type must be 'Bearer'
if (items.token_type !== 'Bearer') {
log.info('token_type received is: ', items.token_type);
return next(new Error(In _authCodeFlowHandler: token_type received is not 'Bearer'));
}
Our AD returns 'bearer' token_type, not 'Bearer'. Is it possible to change the check to
if (items.token_type.toLowerCase() !== 'bearer') {
?
The text was updated successfully, but these errors were encountered:
Got a problem for OIDC strategy on line 1030 in oidcstrategy.js
// token_type must be 'Bearer'
if (items.token_type !== 'Bearer') {
log.info('token_type received is: ', items.token_type);
return next(new Error(
In _authCodeFlowHandler: token_type received is not 'Bearer'
));}
Our AD returns 'bearer' token_type, not 'Bearer'. Is it possible to change the check to
if (items.token_type.toLowerCase() !== 'bearer') {
?
The text was updated successfully, but these errors were encountered: