Skip to content

Determine if status list invocation target can be computed using baseUrl from config instead of /status-lists/ search/replace #188

@dlongley

Description

@dlongley

See: https://github.com/digitalbazaar/bedrock-vc-issuer/blob/v28.4.0/lib/ListSource.js#L38-L42

This code takes the status list VC ID and uses it to compute the endpoint for creating the status list, based on an assumption that the VC ID might use a different public/external URL than an internal one (with a proxy in place to point the external one to the internal one). The way it does the computation today is by searching for the last /status-lists/ path component in the VC ID, but instead, we could perhaps use the baseUrl from the instance's status list configuration. This would not remove the requirement for the baseUrl to end in /status-lists, but it might be a cleaner computation.

Metadata

Metadata

Assignees

No one assigned

    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