Branding the director is quite easy for 1 company. Is it possible to support multiple brands?
I see that several service providers are offering white-labeled versions of the director and wondered how they were doing it.
single branding for sake of the vCloud website.
for the purposes of logging in, you could do SAML federation and the SSO page could have different branding (since it's configured external to vCD)
Hi ,
On vCloud Director 10 you can customize the system branding as well as per tenant .
Check the doc.vmware.com
I'm struggling to change system branding. all GET request works .
PUT requests return error:
"minorErrorCode": "NOT_AUTHENTICATED",
"message": "[ 70b5a3aa-246d-4e8c-a8ce-e03213b278e5 ] This operation is denied.",
"stackTrace": null
}
Can anyone hellp? I'm using Basic Auth with username and password.
Thanks
I'm having the same issue with setting portal color with this script:
Even played around in Postman, but still get 405 error when trying to get the color. Will open case with VMware later on when I have the time..
/Andreas
Hi andreaspa,
I've overcome this some time ago.
Try this on POSTMAN
1.Login via
POST https://ip_of_your_vcd/cloudapi/1.0.0/sessions/provider
Use headers:
Authorization : Basic username : admin_user@system
password: admin_user_password
You should get a Header Response with the authorization token to be used on all follwing calls.
X-VMWARE-VCLOUD-ACCESS-TOKEN _ value
X-VMWARE-VCLOUD-TOKEN-TYPE : Bearer
To make a PUT to set branding use
https://your_vcd_ip/cloudapi/branding/
Set headers
Authorization : Bearer . The value has to be the value of X-VMWARE-VCLOUD-ACCESS-TOKEN you got on login
Set header param X-VMWARE-VCLOUD-ACCESS-TOKEN with exact same value .
It should work on vCloud Director 10 and 10.1 .
I've attached some screenshots for you to check the headers .
Also you start by reading the doc below. This will get you up to speed 🙂
Hope it helped
Online Documentation - vCloud API Programming Guide for Service Providers - VMware {code}
Thanks, I'll try this as soon as I can!
Hi,
tried to login using
POST https://ip_of_your_vcd/cloudapi/1.0.0/sessions/provider
Use headers:
Authorization : Basic username : admin_user@system
password: admin_user_password
on vCD 9.t, but getting:
"message": "Resource not found",
Status: 404 Not Found
Hi raffapolNet
This was tested on vCloud 10 and 10.1 .
Go to the documentation here:vCloud Director API - VMware API Explorer - VMware {code} and make sure you select your vCloud version.
The verify how to login. verson 9.7 and below use a different API call for login.
This might help
Online Documentation - vCloud Director API Programming Guide - VMware {code}
Got it.
Thank you!
Raff