Hi everyone,
I have a vCloud interface and the URL is something like this https://cloud.example.com and showing this interface in my portal application using iframe. The sample code is as follows:
div
iframe src ="[https://cloud.example.com/vcloud/|https://cloud.gnax.net/vcloud/]" width="100%" height="100%" border="0" frameBorder="0"
/iframe
/div
This code is showing the login page. But in rails application I have username password of a user with those i need to skip vcloud interface login in iframe (need to authenticate vcloud interface user from rails application and make him as logged in from the browser and show him his vcloud interface home page). How do i do this?
Thank you in advance
Nag
There is no way to bypass the login screen with vCD 1.0.
Is that answer still holding true today?
We also need to implement similar functionality.. any way to do a form.submit perhaps to vlcoud, to imitate the login process? or maybe a way to modify the vCloud web server, to send Access-Control-Allow-Origin header? this would SOLVE all my problems!
No way exists (or at least not that VMware will share - they do something using the SSO login path with VMware SSO).
What is expected is that if you have a portal you will use the Rest API and put the parts of VCD you want in your portal that way.
Word of warning, anyone using the RestAPI, use the query service when possible, the main calls can be VERY slow at scale.