OpenID Connect protocol steps

The OpenID Connect protocol, in abstract, follows the following steps.ide

  1. The RP (Client) sends a request to the OpenID Provider (OP).code

  2. The OP authenticates the End-User and obtains authorization.it

  3. The OP responds with an ID Token and usually an Access Token.io

  4. The RP can send a request with the Access Token to the UserInfo Endpoint.request

  5. The UserInfo Endpoint returns Claims about the End-User.im

These steps are illustrated in the following diagram:di

+--------+                                   +--------+
|        |                                   |        |
|        |---------(1) AuthN Request-------->|        |
|        |                                   |        |
|        |  +--------+                       |        |
|        |  |        |                       |        |
|        |  |  End-  |<--(2) AuthN & AuthZ-->|        |
|        |  |  User  |                       |        |
|   RP   |  |        |                       |   OP   |
|        |  +--------+                       |        |
|        |                                   |        |
|        |<--------(3) AuthN Response--------|        |
|        |                                   |        |
|        |---------(4) UserInfo Request----->|        |
|        |                                   |        |
|        |<--------(5) UserInfo Response-----|        |
|        |                                   |        |
+--------+                                   +--------+
相關文章
相關標籤/搜索