security
security copied to clipboard
update mock OP to use SignedJWT and return preferred_username in user info
for #277
-
update OidcProvider to use SignedJWT
- update the
/tokenendpoint to use SignedJWT with RS256 instead of PlainJWT to comply with oidc spec - create the
/certsendpoint to return the jwk set containing the jwk used to sign the id token in the/tokenendpoint
- update the
-
additionally updated the
/userinfoendpoint to also return a preferred_username, since the default callerNameClaim is preferred_username, but it is currently not sent in the access token, id token, nor userinfo (i put it into the user info, since that's where it's inserted inapp-openid2)