bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Address/Phone number for out of Canada countries. #7177

Open mengdong19 opened 3 years ago

mengdong19 commented 3 years ago

Please reference to #7131 https://github.com/bcgov/entity/issues/7131

When user are from outside of Canada, their address and phone number may not fit in Canada based verification. In 7131, UK address doesn't have Province (region field in database table), it's also optional for auth-web, but it's required in auth-api. Account creation will fail if missing this field, BCeID user would have to go through entire creation flow again, usually fail again because they already have an uploaded affidavit file.

Address Phone number verification should using same rule on both frontend and backend to avoid this type of failure. Verification should work for other counties. Payment related address fields also need to consider out of country user cases.

*Address uses common components. We will try to update the common component in a way that doesn't impact others but they will be required to test it.

mstanton1 commented 3 years ago

@Kaineatthelab @lmcclung as per our convo this is one of the tickets in our backlog to address the issue with out of Canada addresses in account set up.

JohnamLane commented 1 year ago

@AshnaMehta Can you please review and see if this is still an issue?