Skip to content

Commit

Permalink
Fixed the webclient issue
Browse files Browse the repository at this point in the history
Signed-off-by: dhanendra06 <dhanendra.tech@gmail.com>
  • Loading branch information
dhanendra06 committed Feb 7, 2025
1 parent 2b53e3b commit 5b99535
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,4 @@ public RegistrationUtility registrationUtility() {
return new RegistrationUtility();
}

@Bean
public WebClient webClient() {
return WebClient.builder()
.exchangeStrategies(ExchangeStrategies.builder()
.codecs(configurer ->
configurer.defaultCodecs().maxInMemorySize(20 * 1024 * 1024) // 50MB limit
)
.build())
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public class InternalAuthDelegateServiceImpl implements InternalAuthDelegateServ
private RestTemplate restTemplate;

@Autowired
@Qualifier("selfTokenWebClient")
private WebClient webClient;

/** The internal auth uri. */
Expand Down

0 comments on commit 5b99535

Please sign in to comment.