Skip to content

LG-14525: threatmetrix api account creation#11340

Merged
mdiarra3 merged 61 commits intomainfrom
LG-14525-threatmetrix-api-account-creation
Nov 7, 2024
Merged

LG-14525: threatmetrix api account creation#11340
mdiarra3 merged 61 commits intomainfrom
LG-14525-threatmetrix-api-account-creation

Conversation

@mdiarra3
Copy link
Contributor

@mdiarra3 mdiarra3 commented Oct 15, 2024

🎫 Ticket

Link to the relevant ticket:
LG-14525

🛠 Summary of changes

This implements the API call to the Threatmetrix DDP call. Under a feature toggle, will call account creation API call when user lands on completions controller during account creation.

📜 Testing Plan

To test

Configs Needed

Ensure lexisnexis_threatmetrix_authentication_policy has a policy name allowed.
Turn on Feature toggle by putting account_creation_device_profiling_collecting_enabled to set to collect_only

Afterwards, go through Account Creation process while tracking login events.
Verify that User goes through account creation without issue.

Also verify that analytics logs account_creation_tmx_result as a pass event. (Currently not set up to fail unless missing values like threat metrix session id etc.

…count' into LG-14525-threatmetrix-api-account-creation
@mdiarra3 mdiarra3 marked this pull request as ready for review October 16, 2024 16:41
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Submitting my review as incomplete since I ran out of time to finish reviewing. At first glance, doesn't look like there's any big blockers.

@mdiarra3 mdiarra3 requested a review from aduth November 5, 2024 20:09
@aduth aduth requested a review from a team November 5, 2024 20:51
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this revised direction a lot better 👍

Comment on lines +195 to +196
###################################################################
# LexisNexis DDP/ThreatMetrix #####################################
Copy link
Contributor

Choose a reason for hiding this comment

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

I see why we moved since this file is alphabetized, but now the groupings are a little weird because e.g. lexisnexis_instant_verify_timeout is no longer under the "Instant Verify and Phone Finder Integrations" block.

I'd suggest either:

  1. Get rid of the comment blocks
  2. Rename the new configuration so that it's alphabetized with other ThreatMetrix keys, e.g. lexisnexis_threatmetrix_authentication_policy

Copy link
Contributor

Choose a reason for hiding this comment

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

Now that we've renamed the configuration, can you move the comment block back to where it was?

@aduth
Copy link
Contributor

aduth commented Nov 5, 2024

How do I test this?

@mdiarra3 mdiarra3 requested a review from aduth November 6, 2024 13:02
@mdiarra3
Copy link
Contributor Author

mdiarra3 commented Nov 6, 2024

How do I test this?

I updated the test plan to be clearer. It should log in analytics events for now since we dont expect to do anything yet.

@mdiarra3 mdiarra3 requested a review from a team November 6, 2024 20:19
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

A few minor comments, but LGTM otherwise 👍 Tested locally and worked as expected.

Comment on lines +195 to +196
###################################################################
# LexisNexis DDP/ThreatMetrix #####################################
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that we've renamed the configuration, can you move the comment block back to where it was?

@mdiarra3 mdiarra3 merged commit 88d46be into main Nov 7, 2024
@mdiarra3 mdiarra3 deleted the LG-14525-threatmetrix-api-account-creation branch November 7, 2024 18:18
@aduth aduth mentioned this pull request Nov 12, 2024
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.

4 participants