Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenID login workflow?

Tags:

openid

When someone logs into a site using Open ID, what goes on behind the scene?

can someone explain to me the work flow/steps of what happens during a typical login from a partner open ID site? (like this site)

i.e. when I login at myopenid, what is passed into this site? how does SO know it was a correct login?

like image 555
public static Avatar asked Sep 16 '08 03:09

public static


People also ask

How does OpenID Connect work?

OpenID Connect (OIDC) is an open authentication protocol that works on top of the OAuth 2.0 framework. Targeted toward consumers, OIDC allows individuals to use single sign-on (SSO) to access relying party sites using OpenID Providers (OPs), such as an email provider or social network, to authenticate their identities.

What is OpenID Connect flow?

OpenID Connect is a simple identity layer built on top of the OAuth 2.0 protocol, which allows clients to verify the identity of an end user based on the authentication performed by an authorization server or identity provider (IdP), as well as to obtain basic profile information about the end user in an interoperable ...

Is OpenID an SSO?

OpenID is a protocol designed for user authentication. OpenID is a standard added on the top of Oauth 2.0 (Authorization Protocol) framework which adds ID Token to access token in OAuth 2.0. OAuth and OpenID both act as Single Sign-On (SSO) standards.

What is difference between OAuth and OpenID?

OAuth 2.0 is designed only for authorization, for granting access to data and features from one application to another. OpenID Connect (OIDC) is a thin layer that sits on top of OAuth 2.0 that adds login and profile information about the person who is logged in.


1 Answers

What is OpenId?

OpenID is an open, decentralized, free framework for user-centric digital identity. OpenID takes advantage of already existing internet technology (URI, HTTP, SSL, Diffie-Hellman) and realizes that people are already creating identities for themselves whether it be at their blog, photostream, profile page, etc. With OpenID you can easily transform one of these existing URIs into an account which can be used at sites which support OpenID logins.

OpenId

Difference between OpenId and conventional authentification form?

The difference it's that the identification will be decentralized to an external site (example Wordpress, yahoo...). The website will know that the identification is ok or not and let you loggin.Conventional authentification form do a comparison to their private database and let you loggin or not. You can only use the loggin-password to this website. With openId you can use the same loggin-password on multiple website.

How it works?

  • You can see the Flow of operation here (image)
  • Step-by-step activities here
  • Step-by-step activities here (other blog)
  • List item

Steps

  1. User connect to OpenID enabled website.
  2. User enter credential information.
  3. A Post is made with a BASE64 (website to provider)
  4. An answer is built (that contain expiration)
  5. The website redirect the user to the provider to login.
  6. User enter password and submit.
  7. Verification is done.
  8. Login!

I wrote this answer for this question but this one is more old, so I pasted my answer over here.

like image 82
Patrick Desjardins Avatar answered Oct 11 '22 02:10

Patrick Desjardins