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:
/authentication/mock: An endpoint where a session can be created by passing on a BSN.
/authentication/bsn: TBD login flow for digid.
/authentication/kvk: TBD login flow for eherkenning.
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:
/authentication/mock
: An endpoint where a session can be created by passing on a BSN./authentication/bsn
: TBD login flow for digid./authentication/kvk
: TBD login flow for eherkenning.Acceptance Criterion: