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

Use with Unleash Proxy #254

Closed
Hazzard17h opened this issue Nov 1, 2024 · 1 comment
Closed

Use with Unleash Proxy #254

Hazzard17h opened this issue Nov 1, 2024 · 1 comment

Comments

@Hazzard17h
Copy link

Describe the feature request

Is it possible to use the Java SDK client with Unleash Proxy?
Trying to configure it using Unleash API URL with the proxy endpoint (eg http://localhost:3000/proxy), it seams to request the features appending /client/features to the URL, but the proxy is serving them at /proxy.

Background

We want to use Unleash Proxy with our microservices, as many of them and many copies of the same microservice share the same feature flags, it could be useful to aggregate and cache the retrieval with the proxy.

Solution suggestions

No response

@Hazzard17h
Copy link
Author

I found that Unleash Proxy also responds to /proxy/client/features, but this path is protected by another token configurable via the EXP_SERVER_SIDE_SDK_CONFIG_TOKENS environment variable. Setting the token I am using from the Java SDK client there, I was able to successfully use it with the proxy.

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

No branches or pull requests

1 participant