Open AnnaBilo opened 2 years ago
The public keys of an identity provider are accessible over their jwks_uri
https://www.npmjs.com/package/jsonwebtoken (used by the customer)
I have created our development branch for this task and have added the jsonwebtoken library.
I look, that I can use jwt.verify for the verification: https://github.com/auth0/node-jsonwebtoken#jwtverifytoken-secretorpublickey-options-callback
Philip has implemented and added the validation of the token (incl. the signature) last week with https://github.com/amosproj/amos2022ss08-openid-connect-doctor/commit/e32b4656524d70f03e01a5330625813a535b5413
@RumiAust Should we add an output of the validation into the frontend to complete this task? That would complete the acceptance criteria "the validity of a token is confirmed".
@skriesch I think in the front end we just need to show a confirmation message of signature validity.
User Story
Acceptance Criteria