Skip to content

Add option to include_identity_session_attributes in IdentityLinker#7421

Closed
zachmargolis wants to merge 5 commits intomargolis-identity-linker-cleanupfrom
margolis-identity-linker-option
Closed

Add option to include_identity_session_attributes in IdentityLinker#7421
zachmargolis wants to merge 5 commits intomargolis-identity-linker-cleanupfrom
margolis-identity-linker-option

Conversation

@zachmargolis
Copy link
Contributor

Follow-up to #7420 which is a follow-up to #7418

Adds a new option to IdentityLinker which I expect we could use when we create Agency UUIDs ahead of consent.

n1zyy and others added 5 commits November 30, 2022 18:23
And also basic test / factory update

changelog: Internal, Attempts API, ServiceProviderIdentity has consented scope
This introduces linter error on too-long comments that won't stay, so ignore them for now.
@ial = ial
now = Time.zone.now
process_ial_at(now)
process_ial_at(now) if include_identity_session_attributes
Copy link
Contributor Author

Choose a reason for hiding this comment

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

in hindsight, it's frustrating that these ial_at columns were added to this table, and updated in this way because they make this all kind of complicated

@zachmargolis zachmargolis requested a review from a team December 2, 2022 01:15
expect(identity.access_token).to be_nil
expect(identity.last_ial1_authenticated_at).to be_nil
expect(identity.last_ial2_authenticated_at).to be_nil
expect(identity.verified_at).to be_nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Just because my brain has been so focused on last_consented_at—this whole change is unrelated to that, and is looking ahead to the next step, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I just wanted to make sure that the row was as blank as possible

@zachmargolis zachmargolis force-pushed the margolis-identity-linker-cleanup branch from bb179dd to 2a0064d Compare December 30, 2022 17:39
@zachmargolis
Copy link
Contributor Author

Closing this out since we've chosen not to do #7418

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