Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a full UUID4 for the state param #93

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

mnitchie
Copy link
Contributor

According to the hl7 SMART App Launch Implementation Guide:

The app SHALL use an unpredictable value for the state parameter with at least 122 bits of entropy

The current state param used by this client is only 8 characters and, according to this entropy calculation, has only 41 bits of entropy.

The SMART App Launch Implementation Guide suggests using a "properly configured random uuid", which the uuid wiki indicates gives us the requisite 122 bits.

I'd like to have this in the 3.0 (STU3) version of the client, and also to merge it forward to master (R4).

@mikix mikix changed the base branch from develop to main July 15, 2024 20:34
Copy link
Contributor

@mikix mikix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems sensible! Thanks!

@mikix
Copy link
Contributor

mikix commented Jul 16, 2024

I'd like to have this in the 3.0 (STU3) version of the client, and also to merge it forward to master (R4).

Is this desire still relevant? I switched this PR to aim at main, where development of 4.2.0 is happening.

@mikix mikix merged commit cc01442 into smart-on-fhir:main Jul 16, 2024
5 checks passed
@mnitchie
Copy link
Contributor Author

Is this desire still relevant?

@mikix Not at all. Thanks for reviewing and merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants