aehrc / aehrc/smart-forms

SMART App redirect_uri does not match specification

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

Nobody has claimed this yet.

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

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/

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.