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

Add a "signed" authentication scheme for easier redirects #931

Open
ezekg opened this issue Jan 29, 2025 · 0 comments
Open

Add a "signed" authentication scheme for easier redirects #931

ezekg opened this issue Jan 29, 2025 · 0 comments

Comments

@ezekg
Copy link
Member

ezekg commented Jan 29, 2025

E.g., right now we're duplicating routes on our .pkg subdomains to work around HTTP clients not forwarding authentication headers from one subdomain to another, even if the top level domain matches. As a better workaround, we should add a signed authentication scheme, which can be embedded into URLs, containing signed and encrypted credentials, e.g.:

https://raw.pkg.keygen.sh/foo/bar/hello.txt
303 See Other
Location: https://api.keygen.sh/v1/accounts/foo/artifacts/hello.txt?auth=signed:xxx.yyy.zzz

Essentially, it could be like a signed cookie almost.

Related to #409, #863, and #877?

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