OpenID and Google.GData.AccessControl.dll in C#

后端 未结 2 1492
野的像风
野的像风 2021-01-29 00:08

I am designing a web site to use OpenId and Google is one of the main providers I have selected. What I would like to do is use Google\'s Calendar & Contacts (possibly docs

2条回答
  •  闹比i
    闹比i (楼主)
    2021-01-29 00:36

    After a lot of digging in to this problem I have 2 ways of solving this.

    1. Use OpenID and on the user's profile, have them enter their google credentials (works but not a great solution)
    2. Use OAuth. This requires registering your domain with google and getting a key to use with OAuth. Once you set that up it is easy to access a end user's data stores on google.

    Look at google's OAuth 1.0 for Web Applications.

    Also look at OAuth-OpenID: You’re Barking Up the Wrong Tree if you Think They’re the Same Thing for a good overview of OpenID vs OAuth.

提交回复
热议问题