Upload
shayne-boyer
View
342
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Citation preview
DEVintersectionSession AS11
Bring Your Own Authentication to MVCShayne Boyer
[email protected]@spboyer / tattoocoder.com
2© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Overview
Introduction Quick Survey Login Screens
History Social Media Saves Us…right? oAuth / OpenID
Then & Now 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 Websitehttp://www.myawesomewebsite.com/login
username
password
Login
home
login …………
5© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Social Media To The RescueMy Work Here is Done!
6© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Social LoginsEverybody’s Doing It!
7© DEVintersection. All rights reserved.
http://www.DEVintersection.com
oAuth / OpenIDusing DotNetOpenAuth
http://dotnetopenauth.net Wrapped oAuth implementation nuget package Added in MVC 4.0
8© DEVintersection. All rights reserved.
http://www.DEVintersection.com
MVC 5ASP.NET Identity
OWIN / Katana Microsoft.Owin.Security.* ships w/ Visual Studio 2013 Middleware / Authentication
Demo
Social Login ImplementationBring It!
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
Good & Bad – data can get out of sync
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 Projecthttp://www.asp.net/aspnet/overview/owin-and-katana
Contact Information Twitter: @spboyer Blog: http://www.tattoocoder.com
Questions?
Thank you!
Don’t forget to enter your evaluation of this session using EventBoard!