Gartner Research

Modern Identity and APIs: Mobile, OpenID Connect, OAuth, JSON and REST

Published: 30 July 2015

ID: G00277246

Analyst(s): Mark Diodati

Summary

For developers and enterprise architects, OpenID Connect 1.0 (2014) and OAuth 2.0 (2012) are the clear choices for application authentication and authorization. Furthermore, a best practice for developing user management applications has emerged — JSON over REST — which has industry support.

Table Of Contents

Analysis

  • OAuth Versus OpenID Connect
  • Application Usage of the OpenID Connect ID Token
  • Mobile Platform Challenges and Developments
    • Two Separate User Interfaces
    • OS Enhancements
    • SSO
  • JSON Over REST: A Modern User Management Protocol
  • Strengths
  • Weaknesses

Guidance

  • Choose the Right Protocol
  • Don't Build Your Own
    • OpenID Connect Providers
    • OAuth Resource Servers
  • Use Multifactor Authentication
  • Use Privileged Access Management
  • Select the Right Authorization Focus for OAuth Services
  • Practice Good Security
  • Use JSON Over REST for Your User Management Service
  • Monitor Protocol and OS Developments
    • Intermediate Browser Capabilities
    • Broader Adoption of the ID Token
    • Productized Dynamic Client Registration

The Details

  • OAuth 2.0
    • Session Management
  • OpenID Connect
    • ID Token
    • Dynamic Client Registration
    • User Information Endpoint
    • Provider Discovery
  • Client Registration
  • Commonly Used Endpoints
  • Authentication Flows
    • Resource Owner Password Credentials and Client Credentials
    • Authorization Code
    • Implicit
    • Hybrid Flow
  • Scopes
    • OAuth
    • OpenID Connect
  • Code and Token Protection
    • PKCE
    • Proof of Possession
    • Custom URI Definition
  • Separation of Authentication and Application Interfaces
  • JSON Over REST User Management Services

Gartner Recommended Reading

©2020 Gartner, Inc. and/or its affiliates. All rights reserved. Gartner is a registered trademark of Gartner, Inc. and its affiliates. This publication may not be reproduced or distributed in any form without Gartner’s prior written permission. It consists of the opinions of Gartner’s research organization, which should not be construed as statements of fact. While the information contained in this publication has been obtained from sources believed to be reliable, Gartner disclaims all warranties as to the accuracy, completeness or adequacy of such information. Although Gartner research may address legal and financial issues, Gartner does not provide legal or investment advice and its research should not be construed or used as such. Your access and use of this publication are governed by Gartner’s Usage Policy. Gartner prides itself on its reputation for independence and objectivity. Its research is produced independently by its research organization without input or influence from any third party. For further information, see Guiding Principles on Independence and Objectivity.

Already have a Gartner Account?

Become a client

Learn how to access this content as a Gartner client.