Authentication Simon Cross Partner Engineer facebook.com/sicross An Overview.

Slides:



Advertisements
Similar presentations
Yahoo! OpenID and OAuth 1 Allen Tom Yahoo! Membership Architect OpenID Foundation Board
Advertisements

The How of OAuth OAuth Hackathon – Six Apart
Integrating Facebook into iOS Apps 08/25/2011 North Atlanta iOS Developers Meetup Group Presentation.
Nick Feamster CS 6262 Spring 2009
Overview of Twitter API Nathan Liu. Twitter API Essentials Twitter API is a Representational State Transfer(REST) style web services exposed over HTTP(S).
AAI for Apps Using AAI with your Smartphone Daniel Latzer Zürich, April 2013
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Setting Up Your Facebook Account. Step 1: Ensure you have a valid account to use for your login. Eg. Hotmail, Gmail, Me etc.
The Graph API Simon Cross Partner Engineer facebook.com/sicross An Overview.
Making Euros Fred Fang Partner Engineer facebook.com/fang A How-To for Ads + Credits.
Social Channels Cat Lee Program Manager, Developer Relations facebook.com/cat Driving traffic to your app.
FI-WARE Testbed Access Control temporary solution.
OAuth 2.0 By “PJ” (JP on meetup.com) iOS and PHP developer, and occasional lawyer Contact me via:
OULU ADVANCED RESEARCH ON SOFTWARE AND INFORMATION SYSTEMS Teppo Räisänen | Oulu University of Applied Sciences Facebook API Teppo Räisänen
1Proprietary and Confidential AirVantage API – Getting started David SCIAMMA – June 13th 2014.
Using Evernote and Google Docs in your web or mobile application (and potentially Dropbox and Skydrive) By Peter Messenger Senior Developer – Triple Point.
REST Security with JAX-RS
The Devil is in the (Implementation) Details: An Empirical Analysis of OAuth SSO Systems San-Tsai Sun and Konstantin Beznosov University of British Columbia.
FIspace Security Components FIspace Security Components NetFutures 2015 FIspace project Javier Romero Negrín Javier Hitado Simarro ATOS Serdar Arslan KoçSistem.
Facebook Applications Teppo Räisänen. Facebook Applications Facebook provides many Software Development Kits (SDK’s) – PHP SDK – iOS SDK – Android SDK.
1 Trillion Azure AD authentications since the release of the service 50 M Office 365 users active every month >1 Billion authentications every.
Electrical and Computer Engineering Vitaly Gordievsky Alex Trefonas Scott Richard Matt Beckford Final Project Review.
Facedroid Facebook for Android. Facebook Application - API key - Secret key - PHP page Facebook Application - API key - Secret key - PHP page Facebook.
Facebook Visualization Update Lourdes Chang. Goals Get familiar with Facebook API Connect *any* user to Facebook Gather friend’s list Gather friend’s.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
GRDevDay March 21, 2015 Cloud-based Identity for Applications.
User signs in to WindowsUser is signed in to your app 12.
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
BUILDING A FACEBOOK APP. STEP 1 Create a Developers License. Make sure to take note/record the app id/key.
Survey of Identity Repository Security Models JSR 351, Sep 2012.
Mark Phillip markphillip.com The New Facebook: More than just a redesign.
FIspace SPT Seyhun Futaci. Technology behind FIspace Authentication and Authorization IDM service of Fispace provides SSO solution for web apps, mobile.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Otomo End User SSO - TOI March 2014 Otomo 10.5 – End User SSO Support.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Facebook Query Language Dr.Kwanchai Eurviriyanukul February 2011 RMUTL.
 Facebook Integration on iOS Phan Thanh Phat Huynh Thanh Van.
Web Design: Basic to Advanced Techniques Fall 2010 Mondays 7-9pm 200 Sutardja-Dai Hall Introduction to PHP.
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
Facebook is a social utility that connects you with the people around you. Use Facebook to…  Keep up with friends and family  Share photos and videos.
ICM – API Server & Forms Gary Ratcliffe.
Securing Angular Apps Brian Noyes
Esri UC 2014 | Demo Theater | Using ArcGIS Online App Logins in Node.js James Tedrick.
Agenda Pattern Authenticate a user against UCWA Operations happen using the user’s identity Interact with the UCWA service endpoint Make HTTP requests.
Client Side Requirement Unity3d game engine web plug-in Browser, Firefox, safari, IE, opera.
Lab #3: Programming Exercises for Social Web APIs By J. H. Wang Dec. 26, 2011.
Display Page (HTML/CSS)
API Auth By Kyle Bradley. Role Definitions  User (Resource Owner)  The resource owner is the person who is giving access to some portion of their account.
Persistence Maintaining state: Queries. State is the Problem What is state? facebook status logins (which user are you?) conversations talking about what?
Virtual techdays INDIA │ November 2010 Integrating Social Networks with ASP.NET Krishna Chaitanya T │ Future Web Research Lab, SETLabs, Infosys WE.
2 Take Windows Live and Make it Yours Dr. Neil Roodyn.
Secure Mobile Development with NetIQ Access Manager
Today’s Applications Web API Browser Native app Web API Web API
Power BI for Developers Rui Romano SQLSaturday.com
Redmond Protocols Plugfest 2016 Andrew Davidoff Mail, Calendar, and Contacts Graph API Demonstration Senior Software Engineer.
Survey of Identity Repository Security Models JSR 351, Sep 2012.
Building Azure Mobile Apps
Ask the Experts – Building Login-Based Sites in AEM
Flickr Authentication
Social Networks Integration in Android
Twitter & NoSQL Integration with MVC4 Web API
AJAX.
Yahoo! Social APIs Sophie Major Nagesh Susarla
Azure AD Line Of Business Application Integration
IOS SDK v1.0 with NAM 4.2.
Office 365 Development.
2/23/2019 4:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Technical Integration Guide
Client-Server Model: Requesting a Web Page
Security for Science Gateways Initial Design Discussions
D Guidance 26-Jun: Would like to see a refresh of this title slide
Presentation transcript:

Authentication Simon Cross Partner Engineer facebook.com/sicross An Overview

Facebook Platform Graph API User, App, Page, Credits, Places, Ads Standards HTTP, HTML5, JSON, OAuth, Open Graph WebsitesMobile Apps on Facebook Social PluginsDialogs

Permissions Auth Dialogs Server-side Auth Client-side Auth SDKs Mobile SSO “It’s All About The Access Token”

ID Name Friends Picture Gender Username Locale Permissions Default, Basic User data

{ data: [ ] } Permissions Without Permissions, if you query the API for anything more than the basic user data, you’ll get:

Permissions Ask for the permissions you NEED - but not more ~60 Permissions user_likes user_birthday user_events user_photos user_checkins ... friends_likes friends_birthday friends_events friends_photos friends_checkins... publish_stream publish_checkins create_event manage_pages offline_access... Full list at developers.facebook.com/docs/authentication/permissions

Permissions The more permissions you request, the lower your conversion ratio ~3% reduction in conversion for each additional permission But some permissions have a bigger effect than others: , user_birthday, stream_publish, offline_access etc Ask for only the permissions you actually need You can always ask for more later Tips

Server Side Auth Flow User’s Browser Your AppFacebook GET Your app’s frontpage Redirect GET OAuth Dialog User’s Browser Your AppFacebook 302 Redirect GET Your app’s callback URL GET /oauth/authorize Access Token GET /me?access_token=... API Response Render user data in page

Server Side Auth Flow GET client_id=YOUR_APP_ID& redirect_url= display=page|popup& scope=perm_one,perm_twohttp://yourapp.com display=popupdisplay=page

Client Side Auth Flow User’s Browser Your AppFacebook GET Your app’s frontpage GET OAuth Dialog User’s Browser Your AppFacebook 302 Redirect including Access Token in URL fragment GET /me?access_token API Response, render user data in page GET /me?access_token=... API Response Render user data in page User clicks a call-to-action to login GET /ajax_api.php?access_token=...

Client Side Auth Flow GET client_id=YOUR_APP_ID& redirect_url= display=page|popup& response_type=token& scope=perm_one,perm_twohttp://yourapp.com/callback& Response is a 302 redirect to:

Javascript SDK

Mobile SDKs