You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auth API: Manage Business ERROR message received #27368
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPayWork for Pay TeamPriority2bugSomething isn't workingconnectThe connect common platform
Additional information was received from the client indicating that they were not able to manage the business using the "top search area" but were able to manage the business using "My List".
I understand this to be the client's Business Registry dashboard/page, where the "top area" is the search to affiliate a business while "My List" is the title of the table itemizing all affiliations, including the subject business.
Now, the dialog in this ticket's description is the business affiliation dialog, displayed once you have searched for a business and selected it.
Note that you cannot select the business if it is already affiliated to your account. If it is already affiliated then the dropdown shows "Added" like this:
Since the user saw the affiliation modal, the business must not have been affiliated yet.
It looks like the user selected the "confirm authorization using email" option, ie:
It looks like the Auth API call to send the authorization email failed. Possibly, this process worked when the user tried again... in the end, the user managed to affiliate the business.
We don't have console logs from the client but maybe we could find something in the Auth API logs telling us why sending the email failed.
I don't have access to the Prod GCP project so I cannot look at the logs. Can someone from IT Ops or SBC Connect look into this? PS It looks like this happened before 2:13pm Pacific on April 24, 2025.
Additional information was received from the client indicating that they were not able to manage the business using the "top search area" but were able to manage the business using "My List".
I understand this to be the client's Business Registry dashboard/page, where the "top area" is the search to affiliate a business while "My List" is the title of the table itemizing all affiliations, including the subject business.
I can see why the client might be confused by the different components on this page. Perhaps clear section titles would help? Or perhaps the affiliations search could be collapsed until a text button "Retrieve an existing business or active Name Request to manage" is clicked to expand it?
@severinbeauvais@janisrogers Yes I think that the input field tends to look like a way to search the table below rather than a way to add a business to the table below. People don't seem to read the text immediately and just recognize the pattern since it's common to put a search bar above a table (and have that be used to search the table). I suspect that a text change may not be enough, but that would be the simplest solution.
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPayWork for Pay TeamPriority2bugSomething isn't workingconnectThe connect common platform
Activity
severinbeauvais commentedon Apr 24, 2025
It appears that the subject business has a valid email:
https://business-dashboard.bcregistry.gov.bc.ca/BC1196188/
severinbeauvais commentedon Apr 25, 2025
Additional information was received from the client indicating that they were not able to manage the business using the "top search area" but were able to manage the business using "My List".
I understand this to be the client's Business Registry dashboard/page, where the "top area" is the search to affiliate a business while "My List" is the title of the table itemizing all affiliations, including the subject business.
Visual example from my own dev account:
severinbeauvais commentedon Apr 25, 2025
Now, the dialog in this ticket's description is the business affiliation dialog, displayed once you have searched for a business and selected it.
Note that you cannot select the business if it is already affiliated to your account. If it is already affiliated then the dropdown shows "Added" like this:
Since the user saw the affiliation modal, the business must not have been affiliated yet.
It looks like the user selected the "confirm authorization using email" option, ie:
It looks like the Auth API call to send the authorization email failed. Possibly, this process worked when the user tried again... in the end, the user managed to affiliate the business.
We don't have console logs from the client but maybe we could find something in the Auth API logs telling us why sending the email failed.
I don't have access to the Prod GCP project so I cannot look at the logs. Can someone from IT Ops or SBC Connect look into this? PS It looks like this happened before 2:13pm Pacific on April 24, 2025.
cc: @OlgaPotiagalova @Mihai-QuickSilverDev @JohnamLane
severinbeauvais commentedon Apr 25, 2025
I can see why the client might be confused by the different components on this page. Perhaps clear section titles would help? Or perhaps the affiliations search could be collapsed until a text button "Retrieve an existing business or active Name Request to manage" is clicked to expand it?
cc: @janisrogers @jacqueline-williams-549
jacqueline-williams-549 commentedon Apr 25, 2025
@severinbeauvais @janisrogers Yes I think that the input field tends to look like a way to search the table below rather than a way to add a business to the table below. People don't seem to read the text immediately and just recognize the pattern since it's common to put a search bar above a table (and have that be used to search the table). I suspect that a text change may not be enough, but that would be the simplest solution.
[-]Manage Business ERROR message received[/-][+]Auth API: Manage Business ERROR message received[/+]severinbeauvais commentedon May 1, 2025
Business decision: any user, regardless of their role, should be able to user this affiliation option.
This requires a change in Auth API. @sandragornall @seeker25
severinbeauvais commentedon May 1, 2025
As for clearing up possible confusion between the affiliate search box and the table filtering, @janisrogers said it's probably OK for now.
seeker25 commentedon May 1, 2025
There's a membership check for ADMIN and COORDINATOR, needs to be expanded for USER
I think these might impact delegation as well
Hanlun has a PR for this I believe
seeker25 commentedon May 6, 2025
@lizhuomeng71 could you test this one please? Hanlun put in a fix and it's on test
severinbeauvais commentedon May 7, 2025
I believe this is fixed by #27068. Please verify.
lizhuomeng71 commentedon May 9, 2025
I am still seeing this issue on test,

seeker25 commentedon May 9, 2025
Looks like a change was done on the PATCH (ACCEPT) but not the POST to create the affiliation Invitation.
I'll fix this shortly, Delegation will only work for ADMIN / COORDINATORS
Magic Link will work for ADMIN / COORDINATOR / USERS
Olga and Vikas are away, otherwise I'd include