You need to sign in to do that
Don't have an account?

embedded visualforce page in customer portal shows login screen
I have login/authentication to Customer Portal setup through Sites. When I login through Sites, one of my customer portal pages which has an embedded visualforce page does not render the visualforce page, and instead shows the salesforce login screen in its place. The rest (non-Visualforce) part of the page shows up a-okay.
I have checked and rechecked all access and CRUD permissions for the visualforce page, the apex classes, the custom objects etc. I.e. everything is on the layout, it's accessible by the profile etc.
If I type in the URL of the visualforce page manually, it actually renders properly (even in the context of the login through Sites). It's only when it's embedded, that it doesn't show up.
Also, if I login directly to the customer protal (i.e. not through Sites) then the problem goes away - i.e. the embedded visualforce page dispalys correctly.
The fix is deployed to production.