You need to sign in to do that
Don't have an account?
Chirag_Joshi
Site.com Google Authentication
I am trying to provide the site user Google authentication, so that they can login to the site by there google credentials
The single sign on is working fine when i displayed it on the visualforce page
But when i am displaying the same page as a part of site.com site The page gives me error by clicking on Login
Also since site is public and anybody can access the sites and all i want to do si to register a user through their google account, do I need any user license for this
This is the VF Page and Controller. Please have a look. Thanks
VF Page:
Apex Controller:
Error:
The single sign on is working fine when i displayed it on the visualforce page
But when i am displaying the same page as a part of site.com site The page gives me error by clicking on Login
Also since site is public and anybody can access the sites and all i want to do si to register a user through their google account, do I need any user license for this
This is the VF Page and Controller. Please have a look. Thanks
VF Page:
<apex:page controller="MyController" showHeader="false" sidebar="false"> <apex:form > <apex:pageBlock title="Login Here"> <apex:commandButton value="Login" action="{!login}"/> </apex:pageBlock> </apex:form> </apex:page>
Apex Controller:
public class MyController { public PageReference login(){ return new PageReference('/services/auth/sso/Google_SSO'); } }
Error: