Auto login for domain users single sign on

Auto login for domain users single sign on

   In google applications like Gmail.com , Orkut.com , Blogspot.com or  hotmail.com , asp.net IIS.Net etc
see how they had implemented authentication mechanisum. Where and how they are redirecting the request.

anyway, you can keep authentication cookie at cleint side if you have all your applications under one domain.

Using asp.net and machine key inside web.config, you can use SSO features like
  
http://www.codeproject.com/KB/web-security/aspnetsinglesignon.aspx


you can genrate formsauthentication ticket and pass it to end user browser.

see, how google is storing name of appliation inside url

https://www.google.com/accounts/ServiceLogin?service=orkut&hl=en-US&rm=false&continue=http%3A%2F%2Fwww.orkut.com%2FRedirLogin%3Fmsg%3D0%26page%3Dhttp%253A%252F%252Fwww.orkut.co.in%252FHome&cd=IN&passive=true&skipvpage=true&sendvemail=false

I'm requesting orkut, as soon as I hit signin button the request goes to www.google.co.in/accountsLogin?service=orkut .

here, I get authnticated. You can see they had kept all info in url their application can access it and redirects authenticated users back to requested service. 

There are so many of tricks to implement single sign on feature using ASP.net.

Satalaj

Tags:

Google applications single sign onSql Server MirroringAndroid Market LoginASp.net 2.0 step by step Membership Provider The trust relationship between this workstation and the primary domain failedC# Online usersMemberShip Count Online UsersJQuery Single line commentsJQuery auto .focus()Could not load file or assembly SystemServiceModelDomainServicesHosting Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 or one of its dependencies The system cannot find the file specifiedFailed to execute request because the App Domain could not be created

Author

My name is Satalaj, but people call me Sat. Here is my homepage: . I live in Pune, PN and work as a Software Engineer. I'm former MVP in ASP.net year 2010.
Disclaimer: Views or opinion expressed here are my personal research and it has nothing to do with my employer. You are free to use the code, ideas/hints in your projects. However, you should not copy and paste my original content to other web sites. Feel free to copy or extend the code.
If you want to fight with me, this website is not for you.
 

I'm Satalaj.