Repository navigation
Description
Description
- add support for a "magic link" route
- URL param = NR id
- URL param = NR security (phone or email)
- redirect to login if needed (with return URL)
- PREREQUISITE: need to fix redirect on login (currently not working)
- validate the NR using security
- modal if rejected
- affiliate the NR to the current account
- create draft IA and affiliate it to the current account
- redirect to IA business dashboard
Use Cases
User doesn't have a BCROS account
- After clicking the magic link, the user is redirected to a login page (eg, https://dev.account.bcregistry.gov.bc.ca/login).
- Since the user doesn't have a login, they need to click Create Account (in page header).
- The user follows the steps to create an account, but we cannot take them back to the magic link URL -- they will need to click the link again in the email or PDF. For this reason, we should tell them to create a BCROS account before clicking the magic link.
User has a BCROS account but isn't currently logged in
- After clicking the magic link, the user is redirected to a login page (eg, https://dev.account.bcregistry.gov.bc.ca/login).
- The user logs in, after which they are automatically redirected back to the magic link URL.
- The magic link automatically:
- affiliates the NR to the current account
- creates a draft IA and affiliates it to the current account
- redirects the user to the IA bootstrap dashboard
User is already logged in
- The magic link automatically:
- affiliates the NR to the current account
- creates a draft IA and affiliates it to the current account
- redirects the user to the IA bootstrap dashboard
Old Description
A NEW NR may be added to the user's MBR, so they could incorporate the company in LEAR from there. Or they could go to COLIN to incorporate it. If they try to do both, the second one will fail as the NR will already have been consumed.
This would require the enable-bc-ccc-ulc FF to be enabled in Prod.
If we don't allow the MBR to "incorporate now" in LEAR then there is no way for a user to create a draft IA in LEAR.
Old Description
We need to lead the user to create a numbered or named company (BC, CC, ULC) in either LEAR or COLIN. (BENs are LEAR-only).
We need a FF to enable this change on the Directed Launch date. Before that date, the existing FF should be used to direct company types to LEAR or COLIN. After that date, the old FF can be ignored and the new functionality should be displayed.
Activity
[-]Copy of Namerequest UI: updates for NEW (incorporation application)[/-][+]Auth Web MBR: updates for NEW (incorporation application)[/+]severinbeauvais commentedon Nov 20, 2024
Blocked while waiting for final UX design.
[-]Auth Web MBR: updates for NEW (incorporation application)[/-][+]Business Registry Dashboard: updates for NEW (incorporation application)[/+]JazzarKarim commentedon Dec 18, 2024
UXA/QA Test notes:
Magic Link example: https://business-registry-dev.web.app/incorporateNow?nr=NR+4096072&phone=1112223333
jacqueline-williams-549 commentedon Dec 22, 2024
This looks great! Moving to review.
vishnup0422 commentedon Dec 23, 2024
Verified in DEV env.
Case1:
NR is approved.
User is already loggedIn.
NR is affiliated to the loggedIn Account.
Private Zenhub Video
Case2:
User is Not LoggedIn.
The magic link will redirect to LoginPage and
NR is affiliated to the account with which the user logsIn.
Private Zenhub Video
Case3:
When NR is created and not approved
https://business-registry-dev.web.app/incorporateNow?nr=NR+0848672&phone=7787787781
This throws 404
severinbeauvais commentedon Dec 23, 2024
Thanks for the testing.
Note that Case 3 should never happen because users don't receive their Namex email until the NR is approved.