Federation architectures for mobile applications OAuth 2.0 Drivers OAuth 2.0 Overview Mobile walkthrough



Similar documents
The Essential OAuth Primer: Understanding OAuth for Securing Cloud APIs

A Standards-based Mobile Application IdM Architecture

Web Access Management and Single Sign-On

VETUMA SAML SAMPLE MESSAGES

Security Assertion Markup Language (SAML)

National Identity Exchange Federation. Web Browser User-to-System Profile. Version 1.0

MLSListings Single Sign On Implementation Guide. Compatible with MLSListings Applications

ACR Connect Authentication Service Developers Guide

Enabling SSO for native applications

OAuth2 Ready or not? Dominick Baier

Configuring SAML2 for Single Sign-On to Smartsheet (Enterprise Only)

Identity Management with Spring Security. Dave Syer, VMware, SpringOne 2011

Simple Cloud Identity Management (SCIM)

OAuth 2.0 Developers Guide. Ping Identity, Inc th Street, Suite 100, Denver, CO

Standalone SAML Attribute Authority With Shibboleth

OpenID Single Sign On and OAuth Data Access for Google Apps. Ryan Dave Primmer May 2010

Single Sign-On Implementation Guide

Single Sign-On Implementation Guide

Single Sign-On Implementation Guide

Biometric Single Sign-on using SAML Architecture & Design Strategies

Feide Technical Guide. Technical details for integrating a service into Feide

SAML Profile for SSO in Danish Public Sector V2.0 Assertion Examples,

Configuring SAML2 for Single Sign-On to Smartsheet (Enterprise Only)

SAML 2.0 INT SSO Deployment Profile

HOL9449 Access Management: Secure web, mobile and cloud access

OpenID Connect 1.0 for Enterprise

Onegini Token server / Web API Platform

Enterprise Access Control Patterns For REST and Web APIs

EHR OAuth 2.0 Security

Federal Identity, Credential, and Access Management Security Assertion Markup Language (SAML) 2.0 Web Browser Single Sign-on (SSO) Profile

IAM Application Integration Guide

Single-Sign-On between On-Premises and the Cloud: Leveraging Windows Azure Active Directory to authenticate custom solutions and Apps

Single Sign On. SSO & ID Management for Web and Mobile Applications

The increasing popularity of mobile devices is rapidly changing how and where we

Retrofi8ng OAuth 2.0 Security into Exis?ng REST Service [CON1765]

MIT Tech Talk, May 2013 Justin Richer, The MITRE Corporation

OIOIDWS for Healthcare Token Profile for Authentication Tokens

Axway API Gateway. Version 7.4.1

TrustedX: eidas Platform

Federal Identity, Credentialing, and Access Management Security Assertion Markup Language (SAML) 2.0 Web Browser Single Sign-on (SSO) Profile

Tusker IT Department Tusker IT Architecture

Keeping access control while moving to the cloud. Presented by Zdenek Nejedly Computing & Communications Services University of Guelph

OpenID Deutsche telekom. Dr. Torsten Lodderstedt, Deutsche Telekom AG

SAML and OAUTH comparison

The Challenges of Web single sign-on

Oracle Fusion Middleware Oracle API Gateway OAuth User Guide 11g Release 2 ( )

Securing WebFOCUS A Primer. Bob Hoffman Information Builders

Administering Jive Mobile Apps

Разработка программного обеспечения промежуточного слоя. TERENA BASNET Workshop, November 2009 Joost van Dijk - SURFnet

Kantara egov and SAML2int comparison

USING FEDERATED AUTHENTICATION WITH M-FILES

Shibboleth Architecture

OAuth 2.0: Theory and Practice. Daniel Correia Pedro Félix

IBM WebSphere Application Server

Single Sign on Using SAML

The Role of Identity Enabled Web Services in Cloud Computing

IBM WebSphere Application Server

OAuth 2.0. Weina Ma

Agenda. Federation using ADFS and Extensibility options. Office 365 Identity overview. Federation and Synchronization

OAuth Guide Release 6.0

SIP Authoriza.on Framework Use Cases. Rifaat Shekh- Yusef, Jon Peterson IETF 91, SIPCore WG Honolulu, Hawaii, USA November 13, 2014

Identity Federation: Bridging the Identity Gap. Michael Koyfman, Senior Global Security Solutions Architect

Web Single Sign-On Authentication using SAML

CA Single Sign-On Migration Guide

AAI for Mobile Apps How mobile Apps can use SAML Authentication and Attributes. Lukas Hämmerle

Federated single sign-on (SSO) and identity management. Secure mobile access. Social identity integration. Automated user provisioning.

An Oracle White Paper Dec Oracle Access Management OAuth Service

IETF 84 SCIM System for Cross-domain Identity Management. Kelly Grizzle

Dell One Identity Cloud Access Manager How to Develop OpenID Connect Apps

Mobile Security. Policies, Standards, Frameworks, Guidelines

DocuSign Information Guide. Single Sign On Functionality. Overview. Table of Contents

AIRTEL INDIA OPEN API. Application Developer Guide for OAuth2 Authentication and Authorization. Document Version 1.1

OAuth 2.0 Workshop. On how native (mobile) devices can use OAuth protected resources

Cloud Elements! Marketing Hub Provisioning and Usage Guide!

Security Assertion Markup Language (SAML) V2.0 Technical Overview

Globus Auth. Steve Tuecke. The University of Chicago

MONDESIR Eunice WEILL-TESSIER Pierre FEDERATED IDENTITY. ASR 2006/2007 Final Project. Supervisers: Maryline Maknavicius-Laurent, Guy Bernard

Integrating WebPCM Applications into Single Sign On (SSO) Tom Schaefer Better Software Solutions, Inc. UN 4023 V

Web Based Single Sign-On and Access Control

Riverbed Cascade Shark Common REST API v1.0

SAML Security Analysis. Huang Zheng Xiong Jiaxi Ren Sijun

Identity. Provide. ...to Office 365 & Beyond

How To Use Kiteworks On A Microsoft Webmail Account On A Pc Or Macbook Or Ipad (For A Webmail Password) On A Webcomposer (For An Ipad) On An Ipa Or Ipa (For

Configuration Guide - OneDesk to SalesForce Connector

Interoperate in Cloud with Federation

Final Project Report December 9, Cloud-based Authentication with Native Client Server Applications. Nils Dussart

SAML Single-Sign-On (SSO)

OAuth2 and UMA for ACE draft-maler-ace-oauth-uma-00.txt. Eve Maler, Erik Wahlström, Samuel Erdtman, Hannes Tschofenig

SAML 101. Executive Overview WHITE PAPER

PRACTICAL IDENTITY AND ACCESS MANAGEMENT FOR CLOUD - A PRIMER ON THREE COMMON ADOPTION PATTERNS FOR CLOUD SECURITY

IT Exam Training online / Bootcamp

Using ArcGIS with OAuth 2.0. Aaron CTO, Esri R&D Center Portland

Automatic Recognition, Processing and Attacking of Single Sign-On Protocols with Burp Suite

An Introduction to User-Managed Access (UMA)

Single Sign-On Implementation Guide

SAML basics A technical introduction to the Security Assertion Markup Language

Practical Security Evaluation of SAML-based Single Sign-On Solutions

INUVIKA OPEN VIRTUAL DESKTOP ENTERPRISE

BYE BYE PASSWORDS. The Future of Online Identity. Hans Zandbelt Sr. Technical Architect. CTO Office - Ping Identity

Flexible Identity Federation

Transcription:

Agenda Federation architectures for mobile applications OAuth 2.0 Drivers OAuth 2.0 Overview Mobile walkthrough

Enter OAuth 2.0 Defines authorization & authentication framework for RESTful APIs An open protocol to allow secure API authorization in a simple and standard method from desktop, mobile and web applications. Applied to delegated authorization mitigates password anti-pattern - archetypical use case Provides a standard way to give a key to a third-party which allows only limited access to perform specific functions against REST APIs

An Overused Analogy OAuth is your valet key to the Interwebs

OAuth Timeline WRAP JWT IETF OAuth 2.0 Info RFC 5849 Community 2007 OAuth 1.0a OAuth 1.0 2008 2009 2010 2011

OAuth 2.0 Terminology: Roles resource owner: an entity (usually an enduser/person)capable of granting access to a protected resource. client: an application obtaining authorization and making protected resource requests (on behalf of the resource owner). resource server (RS): the server hosting protected resources authorization server (AS): a server capable of issuing tokens, obtaining authorization, and authenticating resource owners.

Tokens Access Token creden+al used by client to access protected resources at the RS structure is undefined by the spec(s) usually opaque to the client generally short lived Refresh Token used by client to obtain a new access token when the old one expires client only sends to AS, never to RS generally long lived

OAuth 2.0 adop+on Growing number of OAuth 2.0 implementa=ons Salesforce, for authen+ca+ng REST API calls Web server redirect flow Trading SAML asser+on for OAuth access token MicrosoM Azure ACS Evolu+on of OAuth WRAP support Facebook authen+ca+on & authoriza+on for Graph API Mul=ple IdM vendors Ping, Layer7, Apigee, etc. Lots of SaaS vendors - Box, WebEx etc

Agenda Federation architectures for mobile applications OAuth 2.0 Drivers OAuth 2.0 Overview Mobile walkthrough

Walk through Identity Provider Ping Service Provider WebEx 1 Device Password SAML 2 3 Token 4 5 OAuth JSON/XML Browser Native App

SSO Request ----WebEx--- Ping

SSO Request <samlp:authnrequest xmlns:samlp="urn:oasis:names:tc:saml:2.0:protocol" xmlns:saml="urn:oasis:names:tc:saml:2.0:assertion" ID="aaf23196-1773-2113-474a-fe114412ab72" Version="2.0" IssueInstant="2004-12-05T09:21:59Z > <saml:issuer>https://sp.webex.com/saml2</saml:issuer> <samlp:nameidpolicy AllowCreate="true" Format="urn:oasis:names:tc:SAML:2.0:nameid:format:persistent"/> </samlp:authnrequest>

User authentication ----WebEx--- Ping

User authentication

SSO response ----WebEx--- Ping

SSO Response <saml:assertion> <saml:issuer>https://idp.pingidentity.com/saml2</saml:issuer> <ds:signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">...</ds:signature> <saml:subject> <saml:nameid Format="urn:oasis:names:tc:SAML:2.0:nameidformat:persistent"> 3f7b3dcf-1674-4ecd-92c8-1544f346baf8 </saml:nameid></ saml:subject> <saml:attributestatement> <saml:attribute Name= email > <saml:attributevalue xsi:type="xs:string">pmadsen@pingidentity.com</saml:attributevalue> </saml:attribute> </saml:attributestatement> </saml:assertion>

Response with code ----WebEx--- Ping

Response with authz code HTTP/1.1 302 Found Location: mobileapp://redirect_here? state=hoser&code=wizjmastpaf0wqseb3vmdx2mns ZK6g

Trade code for token ----WebEx--- Ping

Trade code for token POST /as/token.oauth2 Host: as.com client_id=a&redirect_uri=mobileapp:// redirecthere&grant_type=authorization_code&code=wizjmastpaf0wqs eb3vmdx2mnszk6g HTTP/1.1 HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 {"token_type":"bearer","expires_in":"600","refresh_token":"oqwqwmuil2ndemhs WEyFO0GyalvKSvc2QI4YuG82RMGkM","access_token":"lSBbci4Jg8MsjiSq ZLBrzEXgd4mKUNhOkyF"}

Client calls API ----WebEx--- Ping

Return Data ----WebEx--- Ping

Summary What SAML is for web SSO, OAuth 2.0 is for APIs Mobile native applications, as key consumers of APIs, are important use case for OAuth 2.0 OAuth 2.0 allows native applications to be authenticated without requiring apps themselves collect & store passwords

Thank you @paulmadsen