SMART App redirect_uri does not match specification

Open Beginner friendly
#2,097 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript

Research direction

Start in the SMART Health Checks application by searching for healthchecks.smartforms.io and the SMART authorization request entry point. Verify where redirect_uri is assembled, update it to include the trailing slash required by the specification, and confirm that the authorization request sends the exact expected URI.

Written by the indexing model from the issue text.

Description

Describe the bug
The SMART Forms integration specification defines the redirect URI as:

https://healthchecks.smartforms.io/

However, the SMART app sends the redirect URI without the trailing slash:

https://healthchecks.smartforms.io

This causes a redirect URI mismatch when performing strict URI validation.

To Reproduce

  1. Launch the SMART Health Checks application.
  2. Inspect the SMART authorization request.
  3. Observe the redirect_uri value sent by the application.
  4. Compare it with the redirect URI defined in the SMART Forms integration specification.

Expected behavior
The SMART app should send the redirect URI exactly as defined in the specification:

https://healthchecks.smartforms.io/

Dominant language
TypeScript
Stars
61
Forks
29
Avg merge
2d 18h
Merged PRs (30d)
19

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aehrc/smart-forms

All issues in aehrc/smart-forms

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.