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

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

1.1.03 Conformance/CapabilityStatement provides OAuth 2.0 endpoints #233

Closed sjayswal closed 2 years ago

sjayswal commented 2 years ago

Hello,

While testing the (Standalone Patient App) in ONC Certification (g)(10) Standardized API V.2.3.0. We are facing this issue. Kindly give your suggestions for the same.

1.1.03 Conformance/CapabilityStatement provides OAuth 2.0 endpoints

Error: undefined method `service' for nil:NilClass

/usr/local/bundle/gems/smart_app_launch_test_kit-0.1.5/lib/smart_app_launch/discovery_stu1_group.rb:75:in `block (3 levels) in class:DiscoverySTU1Group'

yunwwang commented 2 years ago

Can you post you CapabilityStatement or the url to access your CapabilityStatement?

sjayswal commented 2 years ago

metadata.txt

Thank you for your quick reply, attaching my meta file.

yunwwang commented 2 years ago

In the CapbilityStatement, you have two rest items. The first one does not have rest.security, the second one has only rest.secruity. None of them are valid.

sjayswal commented 2 years ago

In the CapbilityStatement, you have two rest items. The first one does not have rest.security, the second one has only rest.secruity. None of them are valid.

Thank you for reply, can give us example of correct file please?

yunwwang commented 2 years ago

You can check the example in SMART App Launch v1.0.0

http://hl7.org/fhir/smart-app-launch/1.0.0/conformance/index.html#example

sjayswal commented 2 years ago

In the CapbilityStatement, you have two rest items. The first one does not have rest.security, the second one has only rest.secruity. None of them are valid.

Hello,

We have checked our CapabilityStatement, we found only one 'rest' item. Still following the standard of http://hl7.org/fhir/smart-app-launch/1.0.0/conformance/index.html#example, we made some changes and found the below error.

1.1.03 Conformance/CapabilityStatement provides OAuth 2.0 endpoints No authorize extension found

Attaching our capability-statement for your reference. Kindly provide your inputs. metadata.txt

yunwwang commented 2 years ago

image

valueString should be valueUri

sjayswal commented 2 years ago

Hello @yunwwang , Thank you for inputs. We have resolved the specified issue.