Gemeente-DenHaag / mijngemeente-gateway

Public proxy gateway for the OpenZaak API.
Other
1 stars 0 forks source link

Generating JWT tokens #4

Open GewoonMaarten opened 3 years ago

GewoonMaarten commented 3 years ago

As a citizen/entrepreneur I want to be able to generate a JWT which stores my BSN or KVK, so I can authenticate my web client with the API quickly.

The authentication endpoint contains several methods. With the method GET /authentication/providers you get a list of possible authentication endpoints. Authentication results in an encrypted and signed JWT containing the BSN or KVK, and the role of the visitor (citizen or entrepreneur).

There is NO serverside session.

The following options are available within these providers:

Acceptance Criterion: