作者:手机用户2602925213 | 来源:互联网 | 2023-08-26 19:00
If no httpClient is defined for gitlab connector, create one with system trusted ca bundle.
该提问来源于开源项目:dexidp/dex
Afaik tlsClientCA is only used to configure grpc client
Okay, I was thinking is it better to add
by configuration? Because in this way, the user provides the CA certificate in config like LDAP connector https://github.com/dexidp/dex/blob/a901e2f2048de70c30df49781a4fbb9aa3413f4f/connector/ldap/ldap.go#L70-L71 and https://github.com/dexidp/dex/blob/a901e2f2048de70c30df49781a4fbb9aa3413f4f/connector/ldap/ldap.go#L76-L77