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 test case to generate a bootstrap token for service to connect to light-config-server #993

Closed
stevehu opened this issue Jul 9, 2021 · 1 comment

Comments

@stevehu
Copy link
Contributor

stevehu commented Jul 9, 2021

This token should have a custom claim service so that the config server can authorize the request by comparing the service from the JWT to the service in the request path. This will prevent one service mimic another service to get other's configuration files from the config server.

This token should be retrieved from the light-oauth2 or oauth-kafka token service from the pipeline and pass it to the container with CONFIG_SERVER_AUTHORIZATION env variable.

stevehu added a commit that referenced this issue Jul 9, 2021
@stevehu stevehu closed this as completed in a30c1bc Jul 9, 2021
@stevehu
Copy link
Contributor Author

stevehu commented Jul 9, 2021

younggwon1 pushed a commit to younggwon1/light-4j that referenced this issue Feb 10, 2024
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