Authentication flow

Authentication flow#

The authentication flow involves four steps:

  1. A logged in service user issues a service key in Plone, and stores the private key in a safe location accessible to the client application.

  2. The client application uses the private key to create and sign a JWT authorization grant.

  3. The client application exchanges the JWT authorization grant for a short-lived access token at the @@oauth2-token endpoint.

  4. The client then uses this access token to authenticate requests to protected resources.

Assuming the client is in possession of a service key, the flow looks like this:

Authentication flow diagram