SlideShare une entreprise Scribd logo
1  sur  12
DEVintersection
Session AS11
Bring Your Own Authentication to MVC
2
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Overview
 Introduction
 Quick Survey
 Login Screens
 Social Media Saves Us…right?
 oAuth / OpenID
 Demo
 Final Comments & Questions
3
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Quick Survey
 Who Likes Coding Login Pages?
 User / Profile Management?
 oAuth?
4
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
The Login Screen
My Awesome Website
http://www.myawesomewebsite.com/login
username
password
Login
home
login …
…
…
…
5
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Social Media To The Rescue
My Work Here is Done!
6
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Social Logins
Everybody’s Doing It!
7
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
oAuth / OpenID
using DotNetOpenAuth
 http://dotnetopenauth.net
 Wrapped oAuth implementation
 nuget package
 Added in MVC 4.0
8
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
MVC 5
ASP.NET Identity
 OWIN / Katana
 Microsoft.Owin.Security.* ships w/ Visual Studio 2013
 Middleware / Authentication
Demo
Social Login Implementation
10
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Final Comments
 ASP.NET Identity in MVC 5 is easy!
 Leverage Social Logins Where Appropriate
 Add additional data tables to expand user information
 SDKs allow for getting additional user information
11
© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Resource & Links
 Get More from Facebook User / Using Facebook C# SDK
http://blogs.msdn.com/b/webdev/archive/2013/10/16/get-more-
information-from-social-providers-used-in-the-vs-2013-project-
templates.aspx
 OWIN and Katana Project
http://www.asp.net/aspnet/overview/owin-and-katana
 Contact Information

Questions?
Thank you!
Don’t forget to enter your evaluation
of this session using EventBoard!

Contenu connexe

En vedette

Specialization of Generics Array Accesses After Inlining
Specialization of Generics Array Accesses After InliningSpecialization of Generics Array Accesses After Inlining
Specialization of Generics Array Accesses After Inlining
nomaddo
 
Jeff king iditarod 2014
Jeff king iditarod 2014Jeff king iditarod 2014
Jeff king iditarod 2014
fourthperiod
 
FlexCare Member Booklet
FlexCare Member BookletFlexCare Member Booklet
FlexCare Member Booklet
FlexCare
 
4 ltr powerpoint2010_ch20_pr1a_jessicaherrera_2
4 ltr powerpoint2010_ch20_pr1a_jessicaherrera_24 ltr powerpoint2010_ch20_pr1a_jessicaherrera_2
4 ltr powerpoint2010_ch20_pr1a_jessicaherrera_2
Jessica Herrera
 

En vedette (19)

Asp.Net Mvc 5 Identity
Asp.Net Mvc 5 IdentityAsp.Net Mvc 5 Identity
Asp.Net Mvc 5 Identity
 
What's New in ASP.NET Identity - TRINUG Sept 2014
What's New in ASP.NET Identity - TRINUG Sept 2014What's New in ASP.NET Identity - TRINUG Sept 2014
What's New in ASP.NET Identity - TRINUG Sept 2014
 
Specialization of Generics Array Accesses After Inlining
Specialization of Generics Array Accesses After InliningSpecialization of Generics Array Accesses After Inlining
Specialization of Generics Array Accesses After Inlining
 
Jeff king iditarod 2014
Jeff king iditarod 2014Jeff king iditarod 2014
Jeff king iditarod 2014
 
Famous Quiz
Famous QuizFamous Quiz
Famous Quiz
 
2013 N. 01 - CIRCOLARE
2013 N. 01 - CIRCOLARE2013 N. 01 - CIRCOLARE
2013 N. 01 - CIRCOLARE
 
Malas
MalasMalas
Malas
 
BEPC COLLEGE FLORA DALOA
BEPC COLLEGE FLORA DALOABEPC COLLEGE FLORA DALOA
BEPC COLLEGE FLORA DALOA
 
FlexCare Member Booklet
FlexCare Member BookletFlexCare Member Booklet
FlexCare Member Booklet
 
4 ltr powerpoint2010_ch20_pr1a_jessicaherrera_2
4 ltr powerpoint2010_ch20_pr1a_jessicaherrera_24 ltr powerpoint2010_ch20_pr1a_jessicaherrera_2
4 ltr powerpoint2010_ch20_pr1a_jessicaherrera_2
 
2013 N. 09 - CIRCOLARE
2013 N. 09 - CIRCOLARE2013 N. 09 - CIRCOLARE
2013 N. 09 - CIRCOLARE
 
Ravi_Nelluri_QA
Ravi_Nelluri_QARavi_Nelluri_QA
Ravi_Nelluri_QA
 
Veneto turismo 1
Veneto turismo 1Veneto turismo 1
Veneto turismo 1
 
B Team Skillz
B Team SkillzB Team Skillz
B Team Skillz
 
Text Adventures
Text AdventuresText Adventures
Text Adventures
 
Roma e il lazio
Roma e il lazioRoma e il lazio
Roma e il lazio
 
Talking Back To The Tube: An Exploration of Social TV
Talking Back To The Tube: An Exploration of Social TVTalking Back To The Tube: An Exploration of Social TV
Talking Back To The Tube: An Exploration of Social TV
 
The narwal
The narwalThe narwal
The narwal
 
My grandparents alejandro 5b
My grandparents alejandro 5bMy grandparents alejandro 5b
My grandparents alejandro 5b
 

Similaire à Bring your own authentication to mvc

iWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndreaiWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndrea
D'Andrea
 
Integrating WordPress With Web APIs
Integrating WordPress With Web APIsIntegrating WordPress With Web APIs
Integrating WordPress With Web APIs
randyhoyt
 
Web Pronto User Guide
Web Pronto User GuideWeb Pronto User Guide
Web Pronto User Guide
guestb745bf
 

Similaire à Bring your own authentication to mvc (20)

End to End Security with MVC and Web API
End to End Security with MVC and Web APIEnd to End Security with MVC and Web API
End to End Security with MVC and Web API
 
Power User functionality in SharePoint 2013 - SP Intersection
Power User functionality in SharePoint 2013 - SP IntersectionPower User functionality in SharePoint 2013 - SP Intersection
Power User functionality in SharePoint 2013 - SP Intersection
 
Managing Identity by Giving Up Control - Scott Morrison, SVP & Distinguished ...
Managing Identity by Giving Up Control - Scott Morrison, SVP & Distinguished ...Managing Identity by Giving Up Control - Scott Morrison, SVP & Distinguished ...
Managing Identity by Giving Up Control - Scott Morrison, SVP & Distinguished ...
 
How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014
 
SharePoint End User Training and Adoption Strategies - SP Intersection
SharePoint End User Training and Adoption Strategies - SP IntersectionSharePoint End User Training and Adoption Strategies - SP Intersection
SharePoint End User Training and Adoption Strategies - SP Intersection
 
iWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndreaiWeb NJECC June 28, 2011 DAndrea
iWeb NJECC June 28, 2011 DAndrea
 
Dell Password Manager Architecture - Components
Dell Password Manager Architecture - ComponentsDell Password Manager Architecture - Components
Dell Password Manager Architecture - Components
 
DevOps for Azure
DevOps for AzureDevOps for Azure
DevOps for Azure
 
Integrating WordPress With Web APIs
Integrating WordPress With Web APIsIntegrating WordPress With Web APIs
Integrating WordPress With Web APIs
 
Magento Imgine eCommerce Conference February 2011: Mashup of Magento and Sale...
Magento Imgine eCommerce Conference February 2011: Mashup of Magento and Sale...Magento Imgine eCommerce Conference February 2011: Mashup of Magento and Sale...
Magento Imgine eCommerce Conference February 2011: Mashup of Magento and Sale...
 
Building Creative Product Extensions with Experience Manager
Building Creative Product Extensions with Experience ManagerBuilding Creative Product Extensions with Experience Manager
Building Creative Product Extensions with Experience Manager
 
Death To Passwords
Death To PasswordsDeath To Passwords
Death To Passwords
 
Web Pronto User Guide
Web Pronto User GuideWeb Pronto User Guide
Web Pronto User Guide
 
SharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning ModelsSharePoint 2013 App Provisioning Models
SharePoint 2013 App Provisioning Models
 
WanShield
WanShieldWanShield
WanShield
 
Building Creative Product Extensions with Experience Manager
Building Creative Product Extensions with Experience ManagerBuilding Creative Product Extensions with Experience Manager
Building Creative Product Extensions with Experience Manager
 
Owasp top 10 2013
Owasp top 10 2013Owasp top 10 2013
Owasp top 10 2013
 
Transcript
TranscriptTranscript
Transcript
 
StakeMate
StakeMateStakeMate
StakeMate
 
Why single sign on for business?
Why single sign on for business?Why single sign on for business?
Why single sign on for business?
 

Dernier

Dernier (20)

Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 

Bring your own authentication to mvc

  • 1. DEVintersection Session AS11 Bring Your Own Authentication to MVC
  • 2. 2 © DEVintersection. All rights reserved. http://www.DEVintersection.com Overview  Introduction  Quick Survey  Login Screens  Social Media Saves Us…right?  oAuth / OpenID  Demo  Final Comments & Questions
  • 3. 3 © DEVintersection. All rights reserved. http://www.DEVintersection.com Quick Survey  Who Likes Coding Login Pages?  User / Profile Management?  oAuth?
  • 4. 4 © DEVintersection. All rights reserved. http://www.DEVintersection.com The Login Screen My Awesome Website http://www.myawesomewebsite.com/login username password Login home login … … … …
  • 5. 5 © DEVintersection. All rights reserved. http://www.DEVintersection.com Social Media To The Rescue My Work Here is Done!
  • 6. 6 © DEVintersection. All rights reserved. http://www.DEVintersection.com Social Logins Everybody’s Doing It!
  • 7. 7 © DEVintersection. All rights reserved. http://www.DEVintersection.com oAuth / OpenID using DotNetOpenAuth  http://dotnetopenauth.net  Wrapped oAuth implementation  nuget package  Added in MVC 4.0
  • 8. 8 © DEVintersection. All rights reserved. http://www.DEVintersection.com MVC 5 ASP.NET Identity  OWIN / Katana  Microsoft.Owin.Security.* ships w/ Visual Studio 2013  Middleware / Authentication
  • 10. 10 © DEVintersection. All rights reserved. http://www.DEVintersection.com Final Comments  ASP.NET Identity in MVC 5 is easy!  Leverage Social Logins Where Appropriate  Add additional data tables to expand user information  SDKs allow for getting additional user information
  • 11. 11 © DEVintersection. All rights reserved. http://www.DEVintersection.com Resource & Links  Get More from Facebook User / Using Facebook C# SDK http://blogs.msdn.com/b/webdev/archive/2013/10/16/get-more- information-from-social-providers-used-in-the-vs-2013-project- templates.aspx  OWIN and Katana Project http://www.asp.net/aspnet/overview/owin-and-katana  Contact Information 
  • 12. Questions? Thank you! Don’t forget to enter your evaluation of this session using EventBoard!