views:

95

answers:

3

I would like to create a site that authenticates using Google's OpenID. How would I do this?

Also, how would I use roles with custom tables?

+4  A: 

Here's a good place to start: http://code.google.com/apis/accounts/docs/OpenID.html

Tony
+2  A: 

Scott Hansleman has a good article on OpenID in ASP.NET

Pete Nelson
+1 for scottha's post.
cache
+1  A: 

Check out DotNetOpenAuth as a library you can use. You can hard-code https://www.google.com/accounts/o8/id as your OP Identifier to get users to log in using their Google accounts.

You can check out the ASP.NET project template that will get you going, including with ASP.NET role management.

Andrew Arnott