nuts-node
nuts-node copied to clipboard
Check oauth metadata if actions are supported
The oauth client and server metadata indicate what combination of parameters/operations are supported by the client/server. We often don't confirm that the other party actually supports what we are presenting.
Below is a list of parameters for AuthorizationServerMetadata that are never read for options that we do use.
-
Issuer(should match the party we assume we fetched the metadata from) -
ResponseModesSupported -
ResponseTypesSupported -
GrantTypesSupported -
PresentationDefinitionUriSupported(not even set) -
VPFormatsSupported -
RequestObjectSigningAlgValuesSupported
Parameters that are read might not be used everywhere they should.
The same probably goes for the OAuthClientMetadata.
Friday afternoon title...
This is used for OpenID4VP flows. They are marked experimental. Will remove final label.