Hi Suresh, You don't need to pass any password to Google. The SAMLResponse (for user X) is the message from you to us that you have authenticated the user and inform us to allow that user to access the Google service specified in RelayState.
Thanks, --Tony On Apr 12, 8:37 pm, Suresh <[email protected]> wrote: > According to the read me file I have followed all steps on Single Sign > On > 1,Enabled SSO Uploaded .cer file 2.Put .pfx file on server and 3.add > Path to my web.config > .What I do is i call the SetupGoogleLoginForm Method when username and > password are correct accoring to my database.I have done each step > shown on the Readme file with the sample code.It returns me Actionurl > value ashttps://www.google.com/a/[My Domain Name].com/acs . I am > confused about thing that do I need to pass any password to Google?Am > I missing something here?Code goes as below > > Private Sub SetupGoogleLoginForm(ByVal userName As String) > Dim samlRequest As String = Request.QueryString("SAMLRequest") > If samlRequest Is Nothing Then > samlRequest = Request.Form("SAMLRequest") > End If > Dim relayState As String = Request.QueryString("RelayState") > If relayState Is Nothing Then > relayState = Request.Form("RelayState") > End If > If samlRequest IsNot Nothing AndAlso relayState IsNot Nothing > Then > Dim responseXml As String > Dim actionUrl As String > SamlParser.CreateSignedResponse(samlRequest, userName, > responseXml, actionUrl) > > Response.Redirect(actionUrl) > Response.Write(responseXml) > Response.Write(relayState) > End If --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
