1 parent 319f2d4 commit a940effCopy full SHA for a940eff
1 file changed
config/passport.js
@@ -163,7 +163,10 @@ export const setupPassportStrategies = async () => {
163
const oidcConfig = await client.discovery(
164
new URL(providerConfig.issuer),
165
providerConfig.client_id,
166
- providerConfig.client_secret
+ providerConfig.client_secret,
167
+ {
168
+ token_endpoint_auth_method: providerConfig.token_endpoint_auth_method || 'client_secret_basic',
169
+ }
170
);
171
172
const strategyName = `oidc-${providerName}`;
0 commit comments