feat: add useIdAsName field for WeCom OAuth provider (#3797)

This commit is contained in:
DacongDA
2025-05-17 02:27:06 +08:00
committed by GitHub
parent d772b0b7a8
commit 4260efcfd0
5 changed files with 49 additions and 21 deletions

View File

@ -475,6 +475,7 @@ func FromProviderToIdpInfo(ctx *context.Context, provider *Provider) *idp.Provid
AuthURL: provider.CustomAuthUrl,
UserInfoURL: provider.CustomUserInfoUrl,
UserMapping: provider.UserMapping,
DisableSsl: provider.DisableSsl,
}
if provider.Type == "WeChat" {