The OpenID Connect protocol, in abstract, follows the following steps.ide
The RP (Client) sends a request to the OpenID Provider (OP).code
The OP authenticates the End-User and obtains authorization.it
The OP responds with an ID Token and usually an Access Token.io
The RP can send a request with the Access Token to the UserInfo Endpoint.request
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-----| | | | | | +--------+ +--------+