I have a public website based on Flows, The page is basically:
<apex:page>
<flow:interview name="Pre_Course" buttonLocation="bottom"/>
</apex:page>
At the end of the Flow, when the user hits the finish button, The flow goes back to the starting point, So I decided to add a public URL the user would be redirected to,
Let’s say for example, but that’s not the website I’m using: Google.com
<apex:page>
<flow:interview name="Pre_Course" buttonLocation="bottom" finishLocation="{!URLFOR('http://www.google.com')}"/>
</apex:page>
But when I click on Finish, I get an unauthorized website restriction, must login!
Or when i run the page within Salesforce, i get the following error:
Invalid Page Redirection: The page you attempted to access has been blocked due to a redirection to an outside website or an improperly coded link or button. Please contact your salesforce.com Administrator for assistance.
What permissions do I need to add to my Sites “Public Access Settings”?