CIS13: OpenID Connect: How it Solves your Problems

32
Nomura Research Institute Cloud Identity Summit 2013 OpenID Connect: How it solves your problems July 10, 2013 Nat Sakimura Nomura Research Institute Chairman, The OpenID Foundation

description

Nat Sakimura, Senior Researcher, Information Tech. Research Dept, Nomura Research Institute OpenID Connect is an identity layer on top of OAuth 2.0 Authorization Framework. This session gives an overview of the underlying concept and how it can help you solve your problems.

Transcript of CIS13: OpenID Connect: How it Solves your Problems

Page 1: CIS13: OpenID Connect: How it Solves your Problems

Nomura Research Institute

Cloud Identity Summit 2013

OpenID Connect: How it solves your problems

July 10, 2013 Nat Sakimura Nomura Research Institute Chairman, The OpenID Foundation

Page 2: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

B2E Identity

B2C Identity G2C Identity

(source of pictures)Microsoft Office Online

G2E Identity

Page 3: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

? "Why OpenID Connect is relevant for us enterprise?

It's a consumer technology, is it not?"

Page 4: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Not quite.

Page 5: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

OpenID Connect was

built Enterprise use in mind (as

well as consumer use);

OpenID Connect helps

you build effective access

governance over cloud services

Page 6: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Q What are the de facto federation and account provisioning

protocols?

Page 7: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Identity Federation

• agreement between two or more domains (3.2.3) specifying how identity information (3.2.4) will be exchanged and managed for cross-domain identification (3.2.1) purposes [iSO/IEC 24760-1]

Account Provisioning

• process of creating an account at the service for the user

Page 8: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Identity Federation

• SAML?

Account Provisioning

• SPML?

Page 9: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Page 10: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Identity Federation

• Password Sharing

Account Provisioning

• Custom CSV

Page 11: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Q Why did we fail?

Page 12: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

n Too complex to understand. l cognitive difficulty -> Support difficulty

n Different products do not interoperate.

n A large Japanese manufacturer: l  > 3000 partners all around the world l Some are quite small l Tried to do SAML

Page 13: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

CSV is easy.

• Hey, you just need Excel! And you can manually edit them!

Password Sharing is easy.

• Hey, it works on any application that supports password!

Page 14: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Lots of (hidden) problems…

Page 15: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

n Anything that more than 3 people knows is not a secret! n Can easily get out of sync. n De-provisioning? Archiving? n Are you getting audit trailing the access to those systems? n Etc.

Page 16: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Let’s re-do. This time, dead simple.

Page 17: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

OpenID Connect & SCIM

Page 18: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

identity set of attributes related to an entity

ISO/IEC 29115 | ITU-T X.1254

Note: distinguish identity and identifier carefully.

Page 19: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

An example of simplistic enterprise “identity”

Employee number: A12349898 Name: John Smith Position: General Manager Department: Finance Company: ABCD Holding Location: NYHQ Datetime: 29130809T12:34:11Z

Page 20: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Employee number: A12349898 Name: John Smith Position: General Manager Department: Finance Company: ABCD Holding Location: NYHQ Datetime: 29130809T12:34:11Z

logging

User interface

Access Control info

Page 21: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Account Role PEP Resource

Page 22: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Identity PEP Resource

Rules

Page 23: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Based on SP800-162 figure on page viii

identity Resource

Rules

Page 24: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

R1 • Access Control MUST be done with the dynamic attributes

R2 • Identity MUST be provided from the authoritative source

R3 • Need to be able to provide flexible security.

R4 • Need to be dead simple.

R5 • Interoperability is the king.

R6 • Limited connection (esp. mobile) ready.

R7 • Unified technology for enterprise and consumer.

R8 • Privacy Enhancing and voluntary

Page 25: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Let’s re-do. This time, dead simple.

Yes, we are reinventing a wheel, but This time, it will be a little rounder.

Page 26: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

SAML v.s. OpenID Connect

SAML Web SSO OpenID Connect XML JSON XML Dsig JSON Web Signature (JWS) XML Encryption JSON Web Encryption (JWE) SAML JSON Web Token SAML Assertion ID Token (OIDC) SOAP (mostly…) REST SAML Web SSO Profile Standard (=OAuth 2.0

binding) SPML SCIM

Page 27: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

OpenID Foundation Japan’s Enterprise Identity WG

Egawa-san!

Page 28: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Deployment Experiences of OpenID Connect

Page 29: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Easy to implement

• Good!

Nice user experience for enterprise users • No login dialogues – just depend on AD. • NRI has built an IIS plugin that works as OIDC

server over implicit flow.

Page 30: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Make sure to follow verification rules

• Some implementation were bitten by not following MUSTs.

Never send an access token without accompanying ID Token to any other clients.

Page 31: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Care should be taken for “code” and “token” server-side verification • It will be bottlenecks in performance. • Make them as stateless as possible.

• Depending on the risk profile, it may not need to re-check and just verify them locally.

• Use memory db for revocation list.

Page 32: CIS13: OpenID Connect: How it Solves your Problems

© 2013 by Nomura Research Institute. All rights reserved.

Nomura Research Institute

Big Picture ~ Transient Situation

AD Etc.

Connect Server

Access Log

Service

Service

Service