Skip to content

Modify the ID token builder to recognize JSON encoded VTR params#10168

Merged
jmhooper merged 1 commit intomainfrom
jmhooper-id-token-builder-fix
Feb 27, 2024
Merged

Modify the ID token builder to recognize JSON encoded VTR params#10168
jmhooper merged 1 commit intomainfrom
jmhooper-id-token-builder-fix

Conversation

@jmhooper
Copy link
Contributor

The identities.vtr column has one of the following values:

  1. A JSON-encoded representation of the vtr param if the vtr param is consumed and used
  2. Nil

The IdTokenBuilder uses this value to add a vot to the ID token. Prior to this commit this code expected a string representation of a single VoT and not a JSON encoded list. This commit addresses the issue and adjustst the tests to have the correct expectations.

The `identities.vtr` column has one of the following values:

1. A JSON-encoded representation of the `vtr` param if the `vtr` param is consumed and used
2. Nil

The `IdTokenBuilder` uses this value to add a `vot` to the ID token. Prior to this commit this code expected a string representation of a single VoT and not a JSON encoded list. This commit addresses the issue and adjustst the tests to have the correct expectations.

[skip changelog]
@jmhooper jmhooper requested a review from theabrad February 27, 2024 19:51
@jmhooper jmhooper merged commit 0621238 into main Feb 27, 2024
@jmhooper jmhooper deleted the jmhooper-id-token-builder-fix branch February 27, 2024 20:22
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