SlideShare a Scribd company logo
1 of 9
Login to SharePoint 2010 site using Gmail ID
Flexmind Solutions
www.flexmindsolutions.com
Email:
support@flexmindsolutions.com
Blog:
www.flexmindsolutions.com/blogs/
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.
• 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/.
• 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/OpenI
D
• http://stackoverflow.com/questions/353880/how-
does-openid-authentication-work
• https://developers.google.com/accounts/docs/OpenI
D
• 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
• 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.
• 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/

More Related Content

Viewers also liked

Art Wars: Design as a force for good
Art Wars: Design as a force for goodArt Wars: Design as a force for good
Art Wars: Design as a force for goodSteve Noone
 
ACW kan voor ARCO spaarpot van 20 miljoen aanspreken
ACW kan voor ARCO spaarpot van 20 miljoen aansprekenACW kan voor ARCO spaarpot van 20 miljoen aanspreken
ACW kan voor ARCO spaarpot van 20 miljoen aansprekenThierry Debels
 
06 mobile o melhor meio da história marco scabia e guilherme cavalcante
06 mobile o melhor meio da história   marco scabia e guilherme cavalcante06 mobile o melhor meio da história   marco scabia e guilherme cavalcante
06 mobile o melhor meio da história marco scabia e guilherme cavalcanteMobile Marketing Association
 
Heroes(brenda)
Heroes(brenda)Heroes(brenda)
Heroes(brenda)s09001
 
Bootstrap Responsive Framework
Bootstrap Responsive FrameworkBootstrap Responsive Framework
Bootstrap Responsive FrameworkSteve Noone
 
Web Banner • Great Eastern Life
Web Banner • Great Eastern LifeWeb Banner • Great Eastern Life
Web Banner • Great Eastern LifeToolbox Design
 
Apresentação Denken (Atualizada) - Baixa Resolução
Apresentação Denken (Atualizada) - Baixa ResoluçãoApresentação Denken (Atualizada) - Baixa Resolução
Apresentação Denken (Atualizada) - Baixa ResoluçãoDenken
 
How Professional Athletes Train Their Minds & What Sales Pros Can Learn
How Professional Athletes Train Their Minds & What Sales Pros Can LearnHow Professional Athletes Train Their Minds & What Sales Pros Can Learn
How Professional Athletes Train Their Minds & What Sales Pros Can LearnJordan Benjamin
 
Building Stuff for Fun and Profit - confessions from a life in code and cables
Building Stuff for Fun and Profit - confessions from a life in code and cablesBuilding Stuff for Fun and Profit - confessions from a life in code and cables
Building Stuff for Fun and Profit - confessions from a life in code and cablesHolly Cummins
 
Whiteboard Challenge - Jak rekrutować UX Designera
Whiteboard Challenge - Jak rekrutować UX DesigneraWhiteboard Challenge - Jak rekrutować UX Designera
Whiteboard Challenge - Jak rekrutować UX DesigneraStanislaw Eysmont
 
Big Data in Finance, 2012
Big Data in Finance, 2012Big Data in Finance, 2012
Big Data in Finance, 2012Tomasz Bednarz
 

Viewers also liked (13)

Art Wars: Design as a force for good
Art Wars: Design as a force for goodArt Wars: Design as a force for good
Art Wars: Design as a force for good
 
ACW kan voor ARCO spaarpot van 20 miljoen aanspreken
ACW kan voor ARCO spaarpot van 20 miljoen aansprekenACW kan voor ARCO spaarpot van 20 miljoen aanspreken
ACW kan voor ARCO spaarpot van 20 miljoen aanspreken
 
06 mobile o melhor meio da história marco scabia e guilherme cavalcante
06 mobile o melhor meio da história   marco scabia e guilherme cavalcante06 mobile o melhor meio da história   marco scabia e guilherme cavalcante
06 mobile o melhor meio da história marco scabia e guilherme cavalcante
 
Heroes(brenda)
Heroes(brenda)Heroes(brenda)
Heroes(brenda)
 
Bootstrap Responsive Framework
Bootstrap Responsive FrameworkBootstrap Responsive Framework
Bootstrap Responsive Framework
 
Web Banner • Great Eastern Life
Web Banner • Great Eastern LifeWeb Banner • Great Eastern Life
Web Banner • Great Eastern Life
 
Get On the Poke Train
Get On the Poke TrainGet On the Poke Train
Get On the Poke Train
 
Apresentação Denken (Atualizada) - Baixa Resolução
Apresentação Denken (Atualizada) - Baixa ResoluçãoApresentação Denken (Atualizada) - Baixa Resolução
Apresentação Denken (Atualizada) - Baixa Resolução
 
How Professional Athletes Train Their Minds & What Sales Pros Can Learn
How Professional Athletes Train Their Minds & What Sales Pros Can LearnHow Professional Athletes Train Their Minds & What Sales Pros Can Learn
How Professional Athletes Train Their Minds & What Sales Pros Can Learn
 
Building Stuff for Fun and Profit - confessions from a life in code and cables
Building Stuff for Fun and Profit - confessions from a life in code and cablesBuilding Stuff for Fun and Profit - confessions from a life in code and cables
Building Stuff for Fun and Profit - confessions from a life in code and cables
 
What is capitalism
What is capitalismWhat is capitalism
What is capitalism
 
Whiteboard Challenge - Jak rekrutować UX Designera
Whiteboard Challenge - Jak rekrutować UX DesigneraWhiteboard Challenge - Jak rekrutować UX Designera
Whiteboard Challenge - Jak rekrutować UX Designera
 
Big Data in Finance, 2012
Big Data in Finance, 2012Big Data in Finance, 2012
Big Data in Finance, 2012
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Login to share point 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.
  • 6. • https://developers.google.com/accounts/docs/OpenI D • http://stackoverflow.com/questions/353880/how- does-openid-authentication-work • https://developers.google.com/accounts/docs/OpenI D • http://danhounshell.com/blog/adding-openid-to- your-web-site-in-conjunction-with-asp-net- membership/ • http://dotnetopenauth.net/
  • 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/