Skip to content

Commit a940eff

Browse files
committed
fix: oidc token method
1 parent 319f2d4 commit a940eff

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

config/passport.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ export const setupPassportStrategies = async () => {
163163
const oidcConfig = await client.discovery(
164164
new URL(providerConfig.issuer),
165165
providerConfig.client_id,
166-
providerConfig.client_secret
166+
providerConfig.client_secret,
167+
{
168+
token_endpoint_auth_method: providerConfig.token_endpoint_auth_method || 'client_secret_basic',
169+
}
167170
);
168171

169172
const strategyName = `oidc-${providerName}`;

0 commit comments

Comments
 (0)