This issue has been resolved in Cloud Director 10.3.3.1 which is available
here for download.
Workaround:
In most instances logging into the Identity Provider first and then opening the Cloud Director UI will result in the user logging in successfully.
To workaround the issue when starting the login process from the Cloud Director UI, remove the customized color and set the
portalColor parameter back to the default value,
null.
This must be done for the System level branding as well as any individually customized Tenants.
This can be done via the branding API endpoints, details of which are available in the
VMware Cloud Director OpenAPI - Branding documentation.
Example steps to perform this workaround would be as follows:
- Log into the Cloud Director Provider UI as a System Administrator.
- Open the API Explorer from the "?" menu in the top right of the Provider UI.
- Navigate to the branding section in the API Explorer page that opens.
- Click on the GET /branding Gets the system level branding option to expand it.
- Click the Try it out and then Execute buttons to perform the GET and copy the JSON Response body that is returned.
- Edit the JSON and change the portalColor field from a custom color to the default value, null:
Custom color example:
"portalColor": "#333333",
Default color:
"portalColor": null,
- In the API Explorer click on the PUT /branding Sets default branding option to expand it.
- Click the Try it out button and in the Example Value field paste the updated JSON body from step 6.
NOTE: the following JSON is for example purposes only, please use the JSON retrieved for the specific Cloud Director environment in step 6. above.
Example updated JSON:
{
"portalName": "Example Cloud Director",
"portalColor": null,
"selectedTheme": {
"themeType": "BUILT_IN",
"name": "Default"
},
"customLinks": [
{
"name": "help",
"menuItemType": "override",
"url": null
},
{
"name": "imprint",
"menuItemType": "override",
"url": null
},
{
"name": "about",
"menuItemType": "override",
"url": null
},
{
"name": "vmrc",
"menuItemType": "override",
"url": null
}
]
}
- Click the Execute button to send and apply the updated JSON. The Server response should show a Code 200 result.
- Reload the main Cloud Director Provider UI and confirm that the color of the header at the top of the page changes from the custom color to the default "grey" scheme.
- Log out of Cloud Director and attempt to log in again using the Sign in with Single Sign On button. The log in should now redirect to the identity provider as expected.
- If there are individual Tenants that have separate custom colors for their branding then they must also be reverted to the default or their login will continue to fail. To resolve these use the GET /branding/tenant/{org} Gets org-specific branding and PUT /branding/tenant/{org} Sets org-specific branding options to also change these Tenants to use the default value, null. Use the individual Tenant's Organization Name in the org field.