serverless-registry-proxy icon indicating copy to clipboard operation
serverless-registry-proxy copied to clipboard

Allowed empty scope in tokenProxyHandler

Open joshjowen opened this issue 3 months ago • 1 comments

I am using this proxy for a Harbor registry and as it is deployed, there is no scope sent for auth. I'm not sure what the reason was for exiting early when the scope is empty but it works in my testing with harbor with the empty string.

joshjowen avatar Oct 01 '25 08:10 joshjowen

Blame shows I added it there because it didn't work with other registries. I'm sure deleting this would break at least some use cases.

In your case, why is there no scope parameter in the /_token request?

ahmetb avatar Oct 01 '25 14:10 ahmetb