Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Open Connect Id implicit and hybrid flows

I have trouble understanding the differences of the implicit and hybrid flows of the OpenId Connect protocol.

Can someone please highlight the practical and security differences of each flow? Thank you

like image 402
securityCurious Avatar asked Apr 13 '15 12:04

securityCurious


People also ask

What is OpenID Connect implicit flow?

OpenID Connect 1.0 is a simple identity layer on top of the OAuth 2.0 protocol. It enables Clients to verify the identity of the End-User based on the authentication performed by an Authorization Server, as well as to obtain basic profile information about the End-User in an interoperable and REST-like manner.

What is the difference between OpenID Connect and OAuth?

Simply put, OpenID is used for authentication while OAuth is used for authorization. OpenID was created for federated authentication, meaning that it lets a third-party application authenticate users for you using accounts that you already have.

What is OAuth hybrid flow?

The Hybrid Flow is an OpenID Connect flow which incorporates characteristics of both the Implicit flow and the Authorization Code flow. It enables clients to obtain some tokens straight from the Authorization Endpoint, while still having the possibility to get others from the Token Endpoint.

What are the different OIDC flows?

There are three flow types: Authorization Code Flow. Implicit Flow. Hybrid Flow (OpenID Connect Only)


1 Answers

The implicit flow delivers tokens in the front channel i.e, via the browser, the hybrid flows deliver some tokens in the front channel and some in the back channel using direct HTTPs calls from client to Provider.

The back channel is generallly considered to be more secure since it does not expose tokens to HTTP logs, browser caches etc.

like image 73
Hans Z. Avatar answered Sep 20 '22 06:09

Hans Z.