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

fix(openid): narrow state hash conditions #25

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

james-d-elliott
Copy link
Member

@james-d-elliott james-d-elliott commented Dec 22, 2023

This ensures the state hash is only included with the 'code id_token' response type as it's the only response type that benefits from it. See the FAPI 1.0 and FAPI 2.0 specs for more information:

This ensures the state hash is only included with the 'code id_token' response type as it's the only response type that benefits from it. See the FAPI 1.0 and FAPI 2.0 specs for more information:
 - https://openid.net/specs/openid-financial-api-part-2-1_0.html#id-token-as-detached-signature-2
 - https://openid.bitbucket.io/fapi/fapi-2_0-security-profile.html#section-5.6
@james-d-elliott james-d-elliott force-pushed the fix-state-hash-condition branch from 775bf98 to 1f8a705 Compare December 22, 2023 04:11
@james-d-elliott james-d-elliott merged commit a296824 into master Dec 22, 2023
2 checks passed
@james-d-elliott james-d-elliott deleted the fix-state-hash-condition branch December 22, 2023 04:13
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.

1 participant