onc-healthit / onc-certification-g10-test-kit

ONC Certification (g)(10) Standardized API Tests
Apache License 2.0
34 stars 11 forks source link

Failure message on 3.3.10 not accurate #434

Closed arscan closed 1 year ago

arscan commented 1 year ago

If a system grants scopes that are of the wrong "level" (patient/user), the error messages says that the issue is on 'received' scopes, when it reaslly is on 'granted' scopes.

For example, this was an error for scopes that were granted, received:

Requested scope patient/Patient.read does not follow the format: user/[ <ResourceType> | * ].[ read | * ]

It would be good to fix this for clarity.