MvdScopeTransformer
question
#382
Unanswered
thomasrutger
asked this question in
Q&A
Replies: 1 comment 2 replies
-
this may be an artifact of dark times past, and could probably be removed. have you tried simply removing it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that the
MvdScopeTransformer
is very similar to the defaultEdcScopeToCriterionTransformer
, with the exception of the list ofknownCredentialTypes
. In particular, if a scope string is not recognized as a "known credential" it returns the Criterion"verifiableCredential.credential.credentialSubject.claims.level"=credentialType
The purpose of this fallback behavior is unclear to me. Does this relate to an MVD-specific scope alias, or is there another reason behind it? Why not return a failure if the scope is unrecognized?
Beta Was this translation helpful? Give feedback.
All reactions