Validate values in scp claim

Hello Everyone,

We have a custom value in the “scp” claim

“scp”: [
“test_upload_claim”,
“email”,
“offline_access”,
“profile”,
“openid”
]
We are trying to validate the existence if the existence of the this value in a asp.net core web api, but RequireClaim is not working. Any guidance is appreciated

.NET isn’t particularly my area of expertise, but could you simply make an additional custom claim (to appear in the Access Token) when test_upload_claim scope is requested and use RequireClaim to check for it?