Skip to content

Digital Credentials support for GCP - Traction webhook callback #29220

Closed

Description

@loneil

For a number of DBC functionalities, Registries calls over to Traction, and that is configured to call back with webhook urls to Legal API on a route handler in there to deal with the webhook.

So in dev/test/prod OCP this calls back to an environment specific link like:
https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/digitalCredentials
and that is allowing that webhook traffic in all good (working in test/prod OCP right now)

In DEV, I've tried adding
https://test.api.connect.gov.bc.ca/business-dev/api/v2/digitalCredentials
as the webhook URL root
But over in Traction now that errors with a 401 unauthorized

Outbound message could not be delivered to https://test.api.connect.gov.bc.ca/business-dev/api/v2/digitalCredentials/topic/connections/

Now, If I use
https://business-api-dev-dy4loprnwa-nn.a.run.app/api/v2/digitalCredentials
instead, it does end-to-end function all good.

--
Dev Notes
Likely cannot (?) use that https://business-api-dev-dy4loprnwa-nn.a.run.app link.

What likely (discussion in progress) needs doing is TBD add a schema to support this route and get authorization in the Gateway
https://developer.connect.gov.bc.ca/en-CA/products/br/overview#view-the-api

Once URL is sorted out and deployed and environments are cut over the operational task on the Traction side is

--
QA Notes
Regression testing of basic DBC functionality (connect and issue a credential, confirm credential accepted in BC Wallet, confirm Filings UI updates as expected) per each environment.

Activity

  1. changed the title [-]Digital Credentials support in GW, Traction webhook callback[/-] [+]Digital Credentials support for GCP - Traction webhook callback[/+] on Jul 3, 2025
  2. loneil commented on Jul 3, 2025

    @loneil
    CollaboratorAuthor

    Discussed with Thor and using the run.app (IE in DEV https://business-api-dev-dy4loprnwa-nn.a.run.app) should be an ok use case for this.

    Leaving this ticket, as the task for applying the new webhook run.app GCP urls still applies. I can do that in Traction environment as GCP rollout happens per GCP env.

  3. loneil commented on Aug 15, 2025

    @loneil
    CollaboratorAuthor

    Have updated all Traction envs. After the GCP deployment to production I was able to issue myself a DBC for a sole prop I created for myself.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions