Log on to the SharePoint 2010 site, validating the user using G-mail account, and after successful verification of users, mapping the user G-mail id in the SharePoint list with user’s domain or LDAP account, after getting the user LDAP account log on the user with that LDAP account.
For verifying the user from his/her G-mail account using Asp.net Auth Open-ID feature.
This C# library adds OpenID 2.0 Provider and Relying Party, OAuth Consumer and Service Provider, and InfoCard Selector support to your web site both programmatically and through convenient drop-in ASP.NET controls.
One can download the open id dll from link.
OpenID is an open, decentralized, free framework for user-centric digital identity. OpenID takes advantage of already existing internet technology (URI, HTTP, SSL, Diffie-Hellman) and realizes that people are already creating identities for themselves whether it be at their blog, photostream, profile page, etc. With OpenID you can easily transform one of these existing URIs into an account which can be used at sites which support OpenID logins.
The difference is that the identification will be decentralized to an external site (for example Wordpress, Yahoo, ...). The website will know whether or not the identification is OK and let you login. Conventional website authentication performs a comparison with data held in a private database, so your username and password can be used to login to this website only. With OpenID you can use the same credentials on multiple websites
One can get the complete picture about how the authentication take place using Gmail account.
https://developers.google.com/accounts/docs/OpenID
http://stackoverflow.com/questions/353880/how-does-openid-authentication-work
https://developers.google.com/accounts/docs/OpenID
http://danhounshell.com/blog/adding-openid-to-your-web-site-in-conjunction-with-asp-net-membership/
http://dotnetopenauth.net/
Steps:-
User connects to OpenID enabled website.
User enters credential information.
A POST is made with a BASE64 (website to provider)
The website redirects the user to the provider to login.
User enters password and submit.
Verification is done. Login!
Configure SharePoint 2010, to authenticate the user using Gmail account and then log on the user to SharePoint site.
Create the SharePoint site configured to open the home page of the site as anonymous access. Required Custom solution to be deployed on SharePoint farm will be
1) Visual web part solution, having the Sign in button to redirect the user to Gmail authentication screen, and on authentication redirect the user to the required home page.
2) Http-module.
For complete code, visit here:
http://flexmindsolutions.com/blogs/login-to-sharepoint-2010-site-using-gmail-id/
1. Login to SharePoint 2010 site using Gmail ID
Flexmind Solutions
www.flexmindsolutions.com
Email:
support@flexmindsolutions.com
Blog:
www.flexmindsolutions.com/blogs/
2. Problem Statement
• Log on to the SharePoint 2010 site,
validating the user using G-mail
account, and after successful
verification of users, mapping the
user G-mail id in the SharePoint list
with user’s domain or LDAP account,
after getting the user LDAP account
log on the user with that LDAP
account.
3. • For verifying the user from his/her G-mail
account using Asp.net Auth Open-ID feature.
• This C# library adds OpenID 2.0 Provider and
Relying Party, OAuth Consumer and Service
Provider, and InfoCard Selector support to
your web site both programmatically and
through convenient drop-in ASP.NET controls.
• One can download the open id dll from
https://code.google.com/p/dotnetopenid/.
4. • OpenID is an open, decentralized, free framework
for user-centric digital identity. OpenID takes
advantage of already existing internet technology
(URI, HTTP, SSL, Diffie-Hellman) and realizes that
people are already creating identities for themselves
whether it be at their blog, photostream, profile
page, etc. With OpenID you can easily transform one
of these existing URIs into an account which can be
used at sites which support OpenID logins.
5. • The difference is that the identification will be
decentralized to an external site (for example
Wordpress, Yahoo, ...). The website will know
whether or not the identification is OK and let you
login. Conventional website authentication performs
a comparison with data held in a private database, so
your username and password can be used to login to
this website only. With OpenID you can use the same
credentials on multiple websites
• One can get the complete picture about how the
authentication take place using Gmail account.
7. • Steps:-
• User connects to OpenID enabled website.
• User enters credential information.
• A POST is made with a BASE64 (website to provider)
• The website redirects the user to the provider to
login.
• User enters password and submit.
• Verification is done. Login!
8. • Configure SharePoint 2010, to authenticate the user using
Gmail account and then log on the user to SharePoint site.
• Create the SharePoint site configured to open the home page
of the site as anonymous access. Required Custom solution to
be deployed on SharePoint farm will be
• Visual web part solution, having the Sign in button to redirect
the user to Gmail authentication screen, and on
authentication redirect the user to the required home page.
• Http-module.
9. • Visual web part solution:-
For the complete code, visit our blog post here:
http://flexmindsolutions.com/blogs/login-to-sharepoint-2010-
site-using-gmail-id/