feat(server): add configurable path prefix for path-based service differentiation - #110
Merged
Conversation
Mortega5
force-pushed
the
feat/server-prefix
branch
from
July 29, 2026 12:56
b64d35b to
1e32d6e
Compare
wistefan
requested changes
Jul 29, 2026
wistefan
left a comment
Collaborator
There was a problem hiding this comment.
The prefix also needs to be added to the well-known objects. The token endpoint in the .well-known/openid-configuration f.e. would be wrong
Collaborator
Author
|
It is actually already covered: the prefix is set into v.host once, at verifier construction time in InitVerifier (verifier/verifier.go:397 and verifier/verifier.go:400). Verified end-to-end in a dev environment: curl https://verifier.dev.xxxx.yyy/verifier/services/data-service/.well-known/openid-configuration{
"issuer": "https://verifier.dev.xxxx.yyy/verifier",
"authorization_endpoint": "https://verifier.dev.xxxx.yyy/verifier/api/v1/authorization",
"token_endpoint": "https://verifier.dev.xxxx.yyy/verifier/services/data-service/token",
"jwks_uri": "https://verifier.dev.xxxx.yyy/verifier/.well-known/jwks",
"scopes_supported": [
"operator"
],
"response_types_supported": [
"code"
],
"response_mode_supported": [
"direct_post"
],
"grant_types_supported": [
"authorization_code",
"vp_token",
"urn:ietf:params:oauth:grant-type:token-exchange"
],
"subject_types_supported": [
"public"
],
"id_token_signing_alg_values_supported": [
"RS256"
]
}did I miss anything? |
wistefan
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
server.pathPrefixproperty to configure the path prefix for all resources (CCS, health, and metrics endpoints are not affected).