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
BRD UI: need to update app and/or core layer to use the API Gateway URLs (MUST FIX) #31203
The Business Registry Dashboard UI is using an older version of the Nuxt 3 Core Layer which calls the Settings endpoint using an URL it should not be using and does not include the Account-Id or X-Apikey request headers, eg:
And similar for the Notifications endpoint.
This layer should be using the Auth API Gateway URL and including the Account-id and X-Apikey request headers.
One way forward might be to use the latest version of the "@daxiom/nuxt-core-layer-test" package (v0.0.25) but this latest version still does not use the latest GW URLs or the API key integration, so that would have to be done first.
Another option is to use the new library, "@sbc-connect/nuxt-core-layer-beta" instead of the "old" one, but this will require some BRD UI updates (eg, i18n setup, new version of Nuxt).
Some users behind firewalls may not be able to load their BRD because a couple of Auth API calls will fail (due to ".run.app" URL).
One short-term work-around would be to use the Auth API reverse-proxy URL (but using reverse-proxy URLs has load/performance implications, especially at scale).
In order to fix the URLs used by the core layer, I had to import the latest core layer. And in order to use the latest core layer, I had to import updated versions of many packages (esp. Nuxt, Vue). Hence, there are serious under-the-hood changes, even if our source code didn't change much.
As part of this ticket, I was able to remove some packages that are now provided by the core layer, which needed some code changes (eg, i18n).
Here are the things to verify (which I have also verified myself):
@riyazuddinsyed There is a known breakage with the affiliation modal (ss above) closing when you click on it or outside it. There is also a know breakage with radio buttons not able to be clicked (in modal above and maybe elsewhere).
Please add any new findings in this ticket. Thanks.
changed the title [-]BRD UI: need to update app and/or core layer to use the API Gateway URLs[/-][+]BRD UI: need to update app and/or core layer to use the API Gateway URLs (MUST FIX)[/+]on Dec 5, 2025
I took this ticket back In Progress to update the environment key being used by the core layer (and by extension, everything in the app).
Test Notes 5
To verify that the correct environment key is being used, open the Develop Tools Network tab and load the BRD. Click the Fetch/XHR button to filter the traffic. For each item, verify that the Request URL is a gateway URL (and is not a "run.app" URL).
Activity
severinbeauvais commentedon Nov 7, 2025
A decision is needed on how to move forward with this.
severinbeauvais commentedon Nov 10, 2025
@thorwolpert What do you recommend?
severinbeauvais commentedon Nov 10, 2025
Moved to icebox because we think this can wait until after the corps release.
This change is a requirement if we want to get rid of the reverse proxies (which we may want to do sooner than later due to load balancing).
cc: @pwei1018
severinbeauvais commentedon Nov 12, 2025
I've assigned myself as I've had help from @deetz99 to get this updated and working, but this ticket is lower priority than my other tickets.
severinbeauvais commentedon Nov 21, 2025
Test Notes
In order to fix the URLs used by the core layer, I had to import the latest core layer. And in order to use the latest core layer, I had to import updated versions of many packages (esp. Nuxt, Vue). Hence, there are serious under-the-hood changes, even if our source code didn't change much.
As part of this ticket, I was able to remove some packages that are now provided by the core layer, which needed some code changes (eg, i18n).
Here are the things to verify (which I have also verified myself):
severinbeauvais commentedon Dec 2, 2025
I've moved this ticket back to In Progress as the business/NR search bar is broken.
severinbeauvais commentedon Dec 2, 2025
Test Notes 2
In addition to the Test Notes above, please verify:
severinbeauvais commentedon Dec 4, 2025
Test Notes 3
In addition to the Test Notes above, please verify the business affiliation dialog:
And also the NR affiliation dialog:
severinbeauvais commentedon Dec 5, 2025
@riyazuddinsyed There is a known breakage with the affiliation modal (ss above) closing when you click on it or outside it. There is also a know breakage with radio buttons not able to be clicked (in modal above and maybe elsewhere).
Please add any new findings in this ticket. Thanks.
[-]BRD UI: need to update app and/or core layer to use the API Gateway URLs[/-][+]BRD UI: need to update app and/or core layer to use the API Gateway URLs (MUST FIX)[/+]severinbeauvais commentedon Dec 5, 2025
Test Notes 4
Please verify that the links on this modal work (and the modal doesn't just close):
severinbeauvais commentedon Dec 5, 2025
I moved this ticket back to In Progress in order to resolve the upgrade-related issues found.
I also increased the Estimate to account for the extra work being done to investigate and fix the issues.
severinbeauvais commentedon Dec 6, 2025
This is fixed and awaiting code review before merging and deployed to Dev.
For now you can try this here: https://business-registry-dev--pr-326-43k8hxmx.web.app/
severinbeauvais commentedon Dec 10, 2025
@riyazuddinsyed This work is completed and deployed to Dev. Please have a look.
There is 1 more thing that I'd like to fix and link to this ticket: fixing the "items per page" select menu. However, this is low priority.severinbeauvais commentedon Dec 10, 2025
I will fix this in #31534.
severinbeauvais commentedon Dec 12, 2025
I took this ticket back In Progress to update the environment key being used by the core layer (and by extension, everything in the app).
Test Notes 5
To verify that the correct environment key is being used, open the Develop Tools Network tab and load the BRD. Click the Fetch/XHR button to filter the traffic. For each item, verify that the Request URL is a gateway URL (and is not a "run.app" URL).
Incorrect:

Correct:
