How to detect if you are already logged in with OpenID and bypass the web application login page

I would like to know the best way to implement automatic login to my website. What I mean by automatic is:

I have already signed a contract with Google. Now I go to my website and its login page. Instead of clicking on the Google login link, I would like the web application to detect that I am already registered with Google and go around the entire login page.

1) Would I use a DotNetOpenAuth.OpenId.RelyingParty.OpenIdAjaxRelyingParty.HttpApplicationStore object to get associations?

2) Or I need to see the cookies.

+5
source share
1 answer

"1" ", . , RP, , Google, , Google. " 2 " cookie" , cookie Google RP, .

Hbas . , , FB Google - DotNetOpenAuth .

, Google RP, Google ( , ) , RP " Google", , Google. (, ), .

+1

All Articles