dex
dex copied to clipboard
TLS configure for OIDC connector
This PR adds two configurable fiels RootCAs
and InsecureSkipVerify
to OIDC connector. When openning a connection to OIDC connect provider, it will use a httpclient based on these two fields.
@sagikazarmark just a quick raincheck here to see if this PR falls in the path. I am seeing some connectors providing TLS config (more or less). For example,
Github: https://github.com/dexidp/dex/blob/6cdbb594064740794a79f30da83be92ec06c22e8/connector/github/github.go#L99-L108
LDAP: https://github.com/dexidp/dex/blob/6cdbb594064740794a79f30da83be92ec06c22e8/connector/ldap/ldap.go#L255-L269
openshift: https://github.com/dexidp/dex/blob/6cdbb594064740794a79f30da83be92ec06c22e8/connector/openshift/openshift.go#L81-L84
Thank you for your time!
Hi could I get some feedbacks on thie PR? Thx @sagikazarmark
@xtremerui Thanks for your work, and sorry for this PR being delayed for so long. My apologies.
I am ready to merge this. Could you please fix the conflicts?
@nabokihms thx its done.