-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configurable HTTP options #29
Conversation
'User-Agent': `${pkg.name}/${pkg.version}`, | ||
'Auth0-Client': Buffer.from(JSON.stringify(telemetryHeader)).toString('base64') | ||
}, | ||
timeout: 4000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved this below to use configuration options but removed the timeout
value here.
Supported types: | ||
- ${issuer.id_token_signing_alg_values_supported.sort().join('\n- ')} | ||
`); | ||
const issuerTokenAlgs = Array.isArray(issuer.id_token_signing_alg_values_supported) ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No functionality changes, just more clear logic here and improved error message when thrown.
Supported types: | ||
- ${issuer.response_types_supported.sort().join('\n- ')} | ||
`); | ||
const configRespType = config.authorizationParams.response_type; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No functionality changes, just more clear logic here and improved error message when thrown.
Supported response modes: | ||
- ${issuer.response_modes_supported.sort().join('\n- ')} | ||
`); | ||
const configRespMode = config.authorizationParams.response_mode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No functionality changes, just more clear logic here and improved error message when thrown.
Description
References
panva/node-openid-client
sindresorhus/got
Testing
Built in v10.15.0
Checklist