You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm utilizing Spring Cloud Config Client version 4.1. Following the guidelines provided in the documentation found at https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_providing_a_custom_resttemplate_using_config_data. My objective is to transmit a JWT token to the config server for token authentication prior to delivering configurations to the client. However, the CustomBootstrapRegistryInitializer remains untriggered. Below is a sample implementation:
You are creating a custom config client. I looked at the example code you provided. Can you remind me why you are taking this approach?
I probably asked before, but I think it would add valuable context.
Here is what I'm thinking:
You want to make sure that "config clients" are authenticated when calling your "config server".
You want to validate with JWT token, you want your "config server" to validate it. So your "config server" should simply need an @resource and configuration pointing towards the "Spring Authorization Server" that you want to use to validate the JWT token.
Describe the bug
I'm utilizing Spring Cloud Config Client version 4.1. Following the guidelines provided in the documentation found at https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_providing_a_custom_resttemplate_using_config_data. My objective is to transmit a JWT token to the config server for token authentication prior to delivering configurations to the client. However, the CustomBootstrapRegistryInitializer remains untriggered. Below is a sample implementation:
Sample
https://github.com/satya108agarwal/config-client/blob/master/src/main/java/config/CustomBootstrapRegistryInitializer.java
The text was updated successfully, but these errors were encountered: