{% extends "base.html" %} {% block content %}

Test SMART Client Launch

Select a registered application to test its SMART on FHIR launch or register a test app.

{{ form.hidden_tag() }}
{{ form.client_id.label(class="form-label") }} Choose an app to test its OAuth2 flow. {% if form.client_id.errors %}
{% for error in form.client_id.errors %}{{ error }}{% endfor %}
{% endif %}
{{ form.response_mode.label(class="form-label") }}
{% for subfield in form.response_mode %}
{{ subfield(class="form-check-input") }} {{ subfield.label(class="form-check-label") }}
{% endfor %}
{{ form.submit(class="btn btn-primary btn-lg") }} Register Test App Cancel
{% if response_data %}
Test Response:
{{ response_data | tojson(indent=2) }}
                        
{% endif %}
{% endblock %}