Skip to content

Lg 6047 cc scan#6178

Merged
SammySteiner merged 12 commits intomainfrom
LG-6047-cc-scan
Apr 8, 2022
Merged

Lg 6047 cc scan#6178
SammySteiner merged 12 commits intomainfrom
LG-6047-cc-scan

Conversation

@SammySteiner
Copy link
Contributor

What

When using one-time security codes, ios devices prompt the user to autofill or scan credit card information.
More info and screenshots available in the Jira ticket: https://cm-jira.usa.gov/browse/LG-6047

Why

After a lot of experimentation on deployed sandbox environments, because ios devices don't prompt on locally hosted environments, the issue was identified as the string security code in the label for the input. Only english was affected, but for consistency we're updating the translation for French and Spanish. There are other language considerations, help docs, etc. but those will be addressed in another ticket.

Testing

You can test this by going to https://idp.ssteiner.identitysandbox.gov/, login, and use sms for mfa verification. Select the input and notice the keyboard section. On production you'll see an autofill or scan credit card area at the top of the virtual keyboard. That should be empty in the sandbox environment.

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM. Do you think we should add a regression feature spec that checks the labels associated with out OTP fields and makes sure they don't have the work security?

@SammySteiner
Copy link
Contributor Author

LGTM. Do you think we should add a regression feature spec that checks the labels associated with out OTP fields and makes sure they don't have the work security?

Good question. At the moment, it was security code as a string that triggered it. However, this is dependent on apple's decisions on which words trigger that autofill feature, but I couldn't find that list of strings provided by apple. They may update it at any time which would break that spec. I don't know of an automated way to check if the autofill is triggered directly though.

@zachmargolis
Copy link
Contributor

Good question. At the moment, it was security code as a string that triggered it.

Right -- my thinking is the spec would help us prevent accidentally re-adding it in like a year or so, if we did a copy review and wanted to add back in the word security. If none of the people on the team remember this PR, the spec would help remind us we removed it on purpose

@mitchellhenke
Copy link
Contributor

Good question. At the moment, it was security code as a string that triggered it.

Right -- my thinking is the spec would help us prevent accidentally re-adding it in like a year or so, if we did a copy review and wanted to add back in the word security. If none of the people on the team remember this PR, the spec would help remind us we removed it on purpose

I don’t feel strongly, but I’d be ok not testing for this. We could add a comment to the translation?

@SammySteiner
Copy link
Contributor Author

Good question. At the moment, it was security code as a string that triggered it.

Right -- my thinking is the spec would help us prevent accidentally re-adding it in like a year or so, if we did a copy review and wanted to add back in the word security. If none of the people on the team remember this PR, the spec would help remind us we removed it on purpose

I don’t feel strongly, but I’d be ok not testing for this. We could add a comment to the translation?

Thanks for all the feedback! I added a comment to the yaml files, I also realized that this only tiggers for labels, element names and ids, so we can have that string other places. I did create another ticket for content to go through and standardize the help docs with the updated language as well.

@SammySteiner SammySteiner merged commit 23c067c into main Apr 8, 2022
@SammySteiner SammySteiner deleted the LG-6047-cc-scan branch April 8, 2022 18:16
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