I am trying out this Baeldung tutorial (https://www.baeldung.com/spring-webclient-oauth2) and was wondering how to inject the parameter
ReactiveClientRegistrationRepository clientRegistrations
that holds the configured credentials into a functional bean:
context.registerBean(
"beanName",
BeanClass.class,
() -> {
// ?
}
Is that possible and if so, how does it work?
Many thanks