vmware / go-vcloud-director

Golang SDK for VMware Cloud Director
Other
76 stars 79 forks source link

Add OIDC support #671

Closed adambarreiro closed 1 month ago

adambarreiro commented 2 months ago

Overview

This PR adds CRUD methods to manage OpenID Connect (OIDC) settings for a given Organization in VCD.

Details

OIDC can be configured in VCD for the System org (/provider) or for each tenant. When configuring it, users can set a "Well-known Endpoint" that serves all the configuration values for OIDC to be configured automatically or in an easier way. If the "Well-known Endpoint" is not used, all values must be provided manually.

The settings that are retrieved from the "Well-known Endpoint" can also be overridden.

Testing

Tests require two new configuration entries that correspond to a running OIDC server.

Tested in 10.5.1 and 10.4.0