Hi Arkesh, In the PHP sample that you are running, the user is 'demouser' and the domain is 'psosamldemo.net'. Have you changed both these values in process_response.php ? The user should be valid user in your domain.
function login($username, $password) is where you would authenticate the user against your user database. When using SSO, the responsibility of authenticating users is yours and Google accounts will not be used. A valid username in your signed response will make Google create a session for the user. SSO is meant for exactly the use case you have mentioned. It provides a single authentication interface for all the services in your application. These services may be Google provided services like gmail, calendar etc or services provided by your domain i.e www.abc.com To set up a a shortcut URL like http://mail.abc.com for gmail, you can follow Tony's suggestion from the earlier post. Update your DNS settings in your domain hosting configuration to create a new CNAME record 'mail' pointing to ghs.google.com: http://www.google.com/support/a/bin/answer.py?hl=en&answer=48090#K User's trying to reach http://mail.abc.com will automatically initiate a SSO process and post authentication, they will land up in the mailbox. -Anirudh On Sep 1, 8:18 pm, Arkesh <[EMAIL PROTECTED]> wrote: > hi Friends, > I tried using .net sample but i do not succeed in getting result.So > i > tried using PHP Sample.Now i am succeed in getting all kind of SAML > responses.Now issue is that i enabled SSO in my google apps > domains.But > inspite of being genuine user there is one line reply coming from > google > that i am not valid authorized user.Another issue is that if i disable > SSO > In Google control panel,it shows i had not enabled Google apps > SSO.Which > implies that my requests are reaching up to google.Now issue is that > if you > look at follwing > link,http://code.google.com/apis/apps/sso/saml_reference_implementation_st... > i am succeed all steps,but at last replies comes like i am not > autorized > user.Now another issue is that our original aim is > integratingwww.abc.comintegrate withhttp://mail.abc.com.So here in aforesaid > link > there is series of steps to connect with google mail.Is there is any > way > like i puthttp://mail.abc.comin my any simplewww.abc.compage,and > any icon like mail directly redirects to Login / password/ok page to > final > email inbox??? if yes then what about series of steps which occurs in > between?? We as developers know ,but common consumers of application > just > want to access simple email.Another issues is that if users > ofwww.abc.comconsumesapplication via separate username and password > and > google > apps username and password is also separate.Is there is any way using > that > genuine user can access hiswww.abc.comandhttp://mail.abc.com?? if > we can > do then it will be wonderful use of google apps.Because this is the > real > intention of google apps. > > - Hide quoted text - > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Apps APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-apps-apis?hl=en -~----------~----~----~----~------~----~------~--~---
