Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dlongley opened this issue Feb 14, 2025 · 0 comments

Comments

@dlongley
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant