With this PR, we can send a JWT back to the frontend. This is useful in some cases, for instance when the frontend will redirect to another page with the JWT disclosure result as query parameter.
By default, this feature is turned off, so it won't break any previous applications using this library.
With this PR, we can send a JWT back to the frontend. This is useful in some cases, for instance when the frontend will redirect to another page with the JWT disclosure result as query parameter.
By default, this feature is turned off, so it won't break any previous applications using this library.
Using this feature in the reference-3p backend is very simple, see this commit: https://github.com/Alliander/diva-js-reference-3p-backend/commit/bfa3647537caa10cfac5e3393f25743052b35903