I'm trying to integrate Salesforce with Google apps in Apex. For this I need to do OAuth with google.
However, I'm confused with what value should be given for redirect_uri to google. I can create a vf page for receiving the OAuth callback, but this page needs to be public as the person doing OAuth won't be logged into Salesforce.
How to create a public page in Salesforce that can receive OAuth callback?