Skip to content

feat: consent details binding message optional#161

Merged
ionutmanolache-okta merged 3 commits intomasterfrom
FGI-1670-fix-binding-message-optional
Dec 3, 2025
Merged

feat: consent details binding message optional#161
ionutmanolache-okta merged 3 commits intomasterfrom
FGI-1670-fix-binding-message-optional

Conversation

@cgcladeraokta
Copy link
Contributor

@cgcladeraokta cgcladeraokta commented Dec 1, 2025

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Introduces support for rich consent transactions with no binding message included in the consent details.

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@cgcladeraokta cgcladeraokta marked this pull request as ready for review December 1, 2025 14:49
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

XCode keeps updating this file, so I figured I was better to commit but I'm happy to revert the changes.

Package.resolved Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I guess it's not. It's not ignored either and it seems to be generated by XCode, shall we include it .gitignore? Removed in 4533e12

describe("Decodable") {
it("should load from Json decoder") {
let jsonData = "{\"audience\":\"my_audience\",\"scope\":[\"openid\",\"my_scope\"],\"binding_message\":\"my_binding_message\"}";
let jsonData = "{\"audience\":\"my_audience\",\"scope\":[\"openid\",\"my_scope\"]}";
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: maybe change the test description too? "should load from Json decoder without binding_message"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, thanks! Changed here 9ec90c4

@ionutmanolache-okta ionutmanolache-okta merged commit c4b2fa0 into master Dec 3, 2025
4 checks passed
ionutmanolache-okta pushed a commit that referenced this pull request Dec 4, 2025
* feat: consent details binding message optional

* test: clarify test description

* fix: remove unnecessary package.resolved file

(cherry picked from commit c4b2fa0)
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.

3 participants