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
Business Dashboard UI: need to provide business id when changing email or phone number (was: infinite loop) #24822
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't workingprod defect
changed the title [-]NED - Phone number change goes into infinite loop[/-][+]New Entity Dashboard - Phone number change goes into infinite loop[/+]on Dec 10, 2024
changed the title [-]New Entity Dashboard - Phone number change goes into infinite loop[/-][+]Business Dashboard - Email r phone number change goes into infinite loop[/+]on Feb 27, 2025
changed the title [-]Business Dashboard - Email r phone number change goes into infinite loop[/-][+]Business Dashboard - Email or phone number change goes into infinite loop[/+]on Feb 27, 2025
The issue is that the Business Dashboard UI is redirecting to Auth Web to update the profile data (aka Registered Office Contact Information), but Auth Web doesn't know which business is in scope. This worked previously because the business ID is stored in session storage, and BD UI and Auth Web were in the same domain and therefore used the same session storage. Now they are in separate domains and session storage is not shared.
One proposed solution/workaround is to pass the business id as part of the target URL, so that Auth code knows which business to update.
A better solution is to move this business profile data from Auth into LEAR, where it belongs because it is business data. Then, Business Dashboard UI could make a call right to Legal API to update this info. (This would require updates to a couple of APIs and several UIs.)
changed the title [-]Business Dashboard - Email or phone number change goes into infinite loop[/-][+]Business Dashboard UI: need to provide account id when changing email or phone number (was: infinite loop)[/+]on Mar 3, 2025
changed the title [-]Business Dashboard UI: need to provide account id when changing email or phone number (was: infinite loop)[/-][+]Business Dashboard UI: need to provide business id when changing email or phone number (was: infinite loop)[/+]on Mar 3, 2025
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't workingprod defect
Activity
[-]NED - Phone number change goes into infinite loop[/-][+]New Entity Dashboard - Phone number change goes into infinite loop[/+]severinbeauvais commentedon Dec 10, 2024
I deleted a couple of obsolete comments here (including a response from Melissa)
[-]New Entity Dashboard - Phone number change goes into infinite loop[/-][+]Business Dashboard - Email r phone number change goes into infinite loop[/+][-]Business Dashboard - Email r phone number change goes into infinite loop[/-][+]Business Dashboard - Email or phone number change goes into infinite loop[/+]severinbeauvais commentedon Feb 27, 2025
@seeker25 and I chatted about this recently.
The issue is that the Business Dashboard UI is redirecting to Auth Web to update the profile data (aka Registered Office Contact Information), but Auth Web doesn't know which business is in scope. This worked previously because the business ID is stored in session storage, and BD UI and Auth Web were in the same domain and therefore used the same session storage. Now they are in separate domains and session storage is not shared.
One proposed solution/workaround is to pass the business id as part of the target URL, so that Auth code knows which business to update.
A better solution is to move this business profile data from Auth into LEAR, where it belongs because it is business data. Then, Business Dashboard UI could make a call right to Legal API to update this info. (This would require updates to a couple of APIs and several UIs.)
cc: @seeker25
[-]Business Dashboard - Email or phone number change goes into infinite loop[/-][+]Business Dashboard UI: need to provide account id when changing email or phone number (was: infinite loop)[/+][-]Business Dashboard UI: need to provide account id when changing email or phone number (was: infinite loop)[/-][+]Business Dashboard UI: need to provide business id when changing email or phone number (was: infinite loop)[/+]severinbeauvais commentedon Mar 4, 2025
TO DO
See also 26272.