Hi Kyaw, Have you enabled SSO in your cpanel?
The following FAQ describes how to enable SSO and access SSO settings: http://www.google.com/support/a/bin/answer.py?answer=60757 Please make sure that you specify the Sign-in page, Sign-out page and Change password URLs that your domain is using: e.g. Sign-in page: http://localhost/GoogleAppsSso/Prompt.aspx Thanks, --Tony On Sep 18, 12:41 pm, kms <[EMAIL PROTECTED]> wrote: > Hi > this is my first post here. I m sorry if it is not in the right > place > I am trying to make . NET sso sample code work. Here is the issue i > have > > After following the 'readme' file and run the code. > http://mail.google.com/a/mydomain.com > it goes to my domain mail login webpage but it didnt redirect the > web page like > http://localhost/GoogleAppsSso/Prompt.aspx > > Please tell me why it is happening. I tried my times already > > PS: i have google apps premiun version for sso > > thanks and regards, > kyaw > > On Sep 15, 6:07 am, "Anirudh (Google)" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > On second thoughts, it would be better not to relay the > > 'loginAttempts' between client/server and maintain it using ASP.NET > > session state instead to keep it secured. > > > -Anirudh > > > On Sep 15, 12:28 pm, "Anirudh (Google)" <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Your understanding is correct on the sequence of events. > > > On failed authentication attempts, it is really a business choice > > > whether to redirect to an error page and lock the user account or to > > > let the users retry. For example, you can choose to allow users to > > > attempt to login say three times and then decide to lock the user > > > account in your system for sometime. > > > > This can be achieved by saving the SAMLRequest and RelayState in UI > > > fields as done in the demo along with an additional Login attempts > > > count variable. I do not have code for the same but it should be > > > fairly simple to implement > > > > The if..else block would look like: > > > > if ( Int.parse(Request['loginAttempts'] ) > 3 ) > > > { > > > //lock user account > > > // redirect to error page} > > > > else > > > { > > > //try authentication > > > if ( invalid credentials ) > > > { > > > //redirect to login page again incrementing loginAttempts and > > > sending it along with SAMLRequest and RelayState > > > > } > > > else > > > { > > > SetUpGoogleLoginForm( username ); > > > } > > > > } > > > > But like i said, it is an option based on your business/use case. > > > > -Anirudh > > > > On Sep 12, 11:27 am, eiklin <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > i am looking at the source code of the .NET Single Sign-On sample that > > > > is currently at version 1.0.1. > > > > > i noticed that we are supposed to perform our custom authentication > > > > method to verify the userid and password, and if the custom > > > > authentication is successful, the program should then call the > > > > SetupGoogleLoginForm(username) function. > > > > > I noticed also that the above is not in the form of a if.. else.. > > > > statement, so may I know what is the recommended action to take in the > > > > event that the custom authentication is not successful? Do a > > > > redirection or retry the authentication? I would appreciate if you > > > > could also provide the corresponding code for implementing the > > > > suggested method. > > > > > thank you very much,- 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 -~----------~----~----~----~------~----~------~--~---
