Skip to content

[SPIKE] - BRD Affiliation Invitation magic links issues #28387

Closed

Description

@JazzarKarim

image.png

Need to fix this.

Also,
image.png

Activity

  1. self-assigned this
    on May 12, 2025
  2. added
    Entities Team
    on May 12, 2025
  3. changed the title [-]BRD - Affiliation Invitation magic links are landing on default account[/-] [+]BRD - Affiliation Invitation magic links issues[/+] on May 12, 2025
  4. changed the title [-]BRD - Affiliation Invitation magic links issues[/-] [+]AUTH API - Affiliation Invitation magic links issues[/+] on May 28, 2025
  5. removed their assignment
    on May 28, 2025
  6. vikas-gov commented on May 28, 2025

    @vikas-gov
    Collaborator

    Pending confirmation on updated Affiliation model/design.

  7. self-assigned this
    on Jun 10, 2025
  8. Rajandeep98 commented on Jun 11, 2025

    @Rajandeep98
    Collaborator

    image.png

    looks correct, initiated from rajandev account to resp account

  9. Rajandeep98 commented on Jun 11, 2025

    @Rajandeep98
    Collaborator

    image.png

    tried business from sev dev account to rajan dev account

  10. Rajandeep98 commented on Jun 12, 2025

    @Rajandeep98
    Collaborator

    account 1: where business belongs to
    account 2 : where business is moving to (asking for permission to manage)

    this email is the response for magic link, confusion is that should it be saying account2 who's asking or should it be account1 who's giving permission ?

  11. jacqueline-williams-549 commented on Jun 12, 2025

    @jacqueline-williams-549

    I think there is supposed to be 2 different emails depending on which options they choose on the affiliation modal.

    This email should be sent if the user has selected "Confirm authorization using your registered office email address"
    According to the designs this looks good to me. So long as the account that requested the authorization is the one who receives the email.
    Confirm Authorization Email Designs

    A different email is sent to the user if they select "Request authorization from an account managing this business"
    I'm not sure if this design was implemented though
    Contact Account Email Designs

  12. severinbeauvais commented on Jun 13, 2025

    @severinbeauvais
    Collaborator

    Here is the affiliation modal. It implies that you have access to the email account.

    image.png

    Here's what the email looks like. Note that a specific account name is included here. However, this doesn't preclude the user from logging in to a different account with the expectation that the business would get affiliated to that account instead.

    image.png

  13. severinbeauvais commented on Jun 13, 2025

    @severinbeauvais
    Collaborator

    There were a couple of issues here.

    1. The email includes the name of the account that triggered the email. There is no concept of an "account that receives the email" -- it's the email on that specific business. It looks like Ken was expecting the "delegation flow" (one account authorizes another account) but the screenshots refer to the "magic link email flow". This is not a bug.

    2. The email says that the business will be affiliated to the account I am logged in to, which is also the account that triggered the email. However, if I click on the Add magic link, the business is actually affiliated to the FIRST account under that login. This is the bug in this ticket.

    Expectation: when I click on the Add magic link in the email, the business is affiliated to the currently-logged-in account.

    To do this, either:

    • The magic link has to include the account id, and set it during the redirection. (This will also solve the question about the account name we put in the email -- the magic link should only work with that account id.)
    • Or, the redirection has to honour the currently-logged-in account.
  14. 15 remaining items

  15. OlgaPotiagalova commented on Jun 19, 2025

    @OlgaPotiagalova
    Collaborator

    @Mihai-QuickSilverDev, Could you please elaborate on the severity of this issue, which users are impacted, and whether there is a workaround available for now? Thank you

    @lorriewright, since the affiliation and delegation model is under review, we need guidance on how to proceed. We can attempt to applying the fix suggested to help alleviate the issue in the time being, but we are looking for an approval by SMEs. Thank you.

  16. lorriewright commented on Jun 20, 2025

    @lorriewright
    Collaborator

    @OlgaPotiagalova let's set up a meeting to discuss.

  17. Mihai-QuickSilverDev commented on Jun 24, 2025

    @Mihai-QuickSilverDev
    Collaborator

    Severity of this issue in BCROS - Prod:

    • Severity - Low to Medium
      Issue Description:
    • Lawyers' companies, (usually), are unable to affiliate a client's company.
      Resolution:
    • Manually affiliating the requested company, to the requesting account, using an IDIR login.
      Examples:
    1. Magellan Lawyers, acct 2311, unable to affiliate BC1532384. - https://sbc-registries.atlassian.net/browse/ITOPS-182381
    2. BLAKE, CASSELS & GRAYDON LLP has reached out as they are unable to add TURNING POINT CIDER COMPANY FM0682548 to their acccount - 2632. - https://sbc-registries.atlassian.net/browse/ITOPS-178592
    3. Jennifer from Davidson Lawyers LLP (SBC account 2128) needs access to manage company BC1531805. (SBC account number 110963) - https://sbc-registries.atlassian.net/browse/ITOPS-175924
    4. BC1538483 Error message creating authorization invitation - https://sbc-registries.atlassian.net/browse/ITOPS-179462
    5. BC Reg Acct: 2207 - https://sbc-registries.atlassian.net/browse/ITOPS-178919 - Coop
    6. BC Registries and Online Services - Support Request / 17982 - https://sbc-registries.atlassian.net/browse/ITOPS-178616 - Coop

    @OlgaPotiagalova @vikas-gov

  18. severinbeauvais commented on Jun 24, 2025

    @severinbeauvais
    Collaborator

    Another work-around (though I didn't test it) is for the email recipient (business owner with no BCRDS account) to forward the affiliation email to the lawyer (who has an account). However, this needs to be done quickly as the magic link is only valid for 15 minutes.

  19. Mihai-QuickSilverDev commented on Jun 24, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • To that extent then, we could send the magic link to the requesting account email on file, skip the forward.
    • However, that could be seen as a circumventing of the security feature, which is the company owner accessing that company's email.
  20. vikas-gov commented on Jul 3, 2025

    @vikas-gov
    Collaborator

    Pending on Lorrie if a decision is made to fix the bug in prod. Olga to connect and confirm.

  21. janisrogers commented on Jul 28, 2025

    @janisrogers
    Collaborator

    I think redesigning the modal in response to this one group is reactionary and disregards the principal group we design for, which is the end user (not the lawyer). In addition, the ops tickets we looked at did not all have the same issue, so I don't think we are fully understanding what is happening in all cases.

    I think mitigation steps are as follows in this order:

    1. Get the form to change the email added to the modal.
    2. Train the helpdesk so they can direct the lawyers to option two if it is appropriate.

    Other options the helpdesk can try:

    • Lawyers can ask their clients to update the registered office email address and then try to affiliate.
    • Lawyers can choose the second option (with perhaps help from the help desk).
    • Lawyers can ask their clients to forward them the email (temporary solution, probably exploiting a security risk and we may not want to do it for that reason).
    1. Look at the wording in the modal to ensure that the options are clearer. I hesitate to do this work while the affiliation process is being redesigned.
  22. removed their assignment
    on Sep 22, 2025
  23. Mihai-QuickSilverDev commented on Sep 22, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • This was an investigation ticket.
    • No longer needed, can be closed.
  24. changed the title [-]AUTH API - Affiliation Invitation magic links issues[/-] [+][SPIKE] - BRD Affiliation Invitation magic links issues[/+] on Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities Teamconnect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions