-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issuer url and add handling of 404 from old registries
Previously I wasn't using the term "issuer" correctly -- really, we should be thinking about the issuer as the endpoint against which we perform openID-configuration lookup to find the issuer key. That is, for registry.com and ns prefix /foo/bar, the issuer is registry.com/api/v1.0/registry/foo/bar. We take that endpoint and grab the JSON hosted at registry.com/api/v1.0/registry/foo/bar/.well-known/openid-configuration. From there, most Pelican services will point to the key hosted at registry.com/api/v1.0/registry/foo/bar/.well-known/issuer.jwks.
- Loading branch information
1 parent
fd92230
commit 22b79fe
Showing
2 changed files
with
63 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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