Peter Kellner
•Microsoft MVP 7Years
•SiliconValley Code Camp
Organizer
•Pluralsight Author
•Independent
Add Login via Google,
Facebook,Yahoo or
LIVE using Azure
Mobile Services
PLEASE LOGINTO
W.SVCC.MOBI
alias for www.siliconvalley-codecamp.com
SVCC WalkThrough
Problems?
• User Logs In Without First Linking
• Multiple Accounts (me!)
• Cookies?
IDENTITY BASICS
• I’m struggling to understand how to integrate these oauth
providers into my sites. If all we get back is...
UNIQUE NUMBER UNIQUE?
• My APP
• YourAPP
• SAME UNIQUE NUMBER?
INFORMATION FLOW
Issue RequestTo Identity Provider
Get Back Big Number String
What is Azure Mobile Services?
•Web Site? (NO!)
•Tables, Blobs, Queues, Auth
Portal RunThrough
Creating Azure Mobile Service
With Identities
Windows Azure Portal
Azure Mobile Services Setup
Azure Mobile Services Setup
Azure Mobile Services Setup
Azure Mobile Services Setup
Azure Mobile Services Setup
Azure Mobile Services Setup
Azure Mobile Services Setup
Creating Apps
Creating Apps
No Help From Sample App
http://msdn.microsoft.com/en-
us/library/azure/jj710105.aspx
Service-Directed Login
CodeTime!
• DemoTestOAuth.html
Service-Directed Login
Service-Directed Login
Service-Directed Login
Service-Directed Login
Client-Directed Login
If your app doesn’t need to interact
directly with the identity provider,
you can instead use the Se...
SVCC Implementation
Extended OAuth Info
http://blogs.msdn.com/b/carlosfigueira/archive/2013/12/12/
expanded-login-scopes-in-azure-mobile-servi...
Carlos Figueira Blog
NodeJS Discussion
• Azure Mobile Service Integration
• Requires
• GIT
Azure Mobile ServiceAPI Calls
Add Login via Google, Facebook, Yahoo or LIVE using Azure Mobile Services
Add Login via Google, Facebook, Yahoo or LIVE using Azure Mobile Services
Upcoming SlideShare
Loading in …5
×

Add Login via Google, Facebook, Yahoo or LIVE using Azure Mobile Services

824 views

Published on

Talk for Bay.Net (San Francisco) June 18th, 2014

http://www.meetup.com/BayNET/events/185540132/

Avoid all the security issues of maintaining your own password storage and authentication with or without having your web site hosted on Azure. That is, allow your users to be able to login to your site by authenticating with Google, Facebook, Yahoo or Windows Live authorization services. In this presentation, I’ll show you how, with Azure Mobile Services and very simple API calls you can create that authentication.

Published in: Software, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
824
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Add Login via Google, Facebook, Yahoo or LIVE using Azure Mobile Services

  1. 1. Peter Kellner •Microsoft MVP 7Years •SiliconValley Code Camp Organizer •Pluralsight Author •Independent
  2. 2. Add Login via Google, Facebook,Yahoo or LIVE using Azure Mobile Services
  3. 3. PLEASE LOGINTO W.SVCC.MOBI alias for www.siliconvalley-codecamp.com
  4. 4. SVCC WalkThrough
  5. 5. Problems? • User Logs In Without First Linking • Multiple Accounts (me!) • Cookies?
  6. 6. IDENTITY BASICS • I’m struggling to understand how to integrate these oauth providers into my sites. If all we get back is a token with no other identifiable information, how does this help us? It seems that all we are getting is the ability for a bad guy to consistently identify himself to us with no other way of telling who he is. Just, “same old bad guy is back”. Yes, that’s pretty much OAuth in a nutshell. You get a consistent identifier per user. The format of that identifier is up to the provider. You may, or may not, get additional information, in the token, or via a side channel.
  7. 7. UNIQUE NUMBER UNIQUE? • My APP • YourAPP • SAME UNIQUE NUMBER?
  8. 8. INFORMATION FLOW Issue RequestTo Identity Provider Get Back Big Number String
  9. 9. What is Azure Mobile Services? •Web Site? (NO!) •Tables, Blobs, Queues, Auth
  10. 10. Portal RunThrough Creating Azure Mobile Service With Identities
  11. 11. Windows Azure Portal
  12. 12. Azure Mobile Services Setup
  13. 13. Azure Mobile Services Setup
  14. 14. Azure Mobile Services Setup
  15. 15. Azure Mobile Services Setup
  16. 16. Azure Mobile Services Setup
  17. 17. Azure Mobile Services Setup
  18. 18. Azure Mobile Services Setup
  19. 19. Creating Apps
  20. 20. Creating Apps
  21. 21. No Help From Sample App http://msdn.microsoft.com/en- us/library/azure/jj710105.aspx
  22. 22. Service-Directed Login
  23. 23. CodeTime! • DemoTestOAuth.html
  24. 24. Service-Directed Login
  25. 25. Service-Directed Login
  26. 26. Service-Directed Login
  27. 27. Service-Directed Login
  28. 28. Client-Directed Login If your app doesn’t need to interact directly with the identity provider, you can instead use the Service- directed login operation
  29. 29. SVCC Implementation
  30. 30. Extended OAuth Info http://blogs.msdn.com/b/carlosfigueira/archive/2013/12/12/ expanded-login-scopes-in-azure-mobile-services.aspx
  31. 31. Carlos Figueira Blog
  32. 32. NodeJS Discussion • Azure Mobile Service Integration • Requires • GIT
  33. 33. Azure Mobile ServiceAPI Calls

×