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

Copy authorization from request to proxy #4541

Open
juanpicado opened this issue Mar 14, 2024 Discussed in #3708 · 0 comments
Open

Copy authorization from request to proxy #4541

juanpicado opened this issue Mar 14, 2024 Discussed in #3708 · 0 comments

Comments

@juanpicado
Copy link
Member

Discussed in https://github.com/orgs/verdaccio/discussions/3708

Originally posted by jeffrson March 28, 2023
Hi,
I have a private registry, publicly accessible, but requires user account credentials.

Now I'm setting up another registry, which should use my private registry (this is in a company which usually has all clients protected, but allows access from a special endpoint to the outside). This second registry of course needs to authenticate against the former private registry.

How can this be done? I know, in "Uplinks" there are "auth" settings. These settings work fine. Unfortunately, I set up my logins to expire after about 3 months, so I would need to update the auth token (locally in this company) and restart Verdaccio. A lot may go wrong here.

Any better idea? Real copy of auth request (bearer and basic) will probably not work, because every instance has its own key for signing afaict.

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

No branches or pull requests

1 participant