Hey!
We have exactly the same issue on 6.4.0-SNAPSHOT (and all release candidates that came out for 6.4.X) with the following setup:
dependencies {
[...]
compile
"org.apereo.cas:cas-server-support-mongo-ticket-registry:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-gauth-mongo:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-throttle-mongo:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-webauthn-mongo:${project.'cas.version'}"
The error we get is the following:
```
2021-07-13 19:08:27,125 ERROR
[org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter]
- <
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of method gridFsTemplate in
org.springframework.boot.autoconfigure.data.mongo.MongoDatabaseFactoryDependentConfiguration
required a single bean, but 3 were found:
- mongoDbGoogleAuthenticatorTemplate: defined in
BeanDefinition defined in class path resource
[org/apereo/cas/config/GoogleAuthenticatorMongoDbConfiguration.class]
- mongoDbTicketRegistryTemplate: defined in BeanDefinition
defined in class path resource
[org/apereo/cas/config/MongoDbTicketRegistryConfiguration.class]
- mongoWebAuthnTemplate: defined in BeanDefinition defined in
class path resource
[org/apereo/cas/config/MongoDbWebAuthnConfiguration.class]
Action:
Consider marking one of the beans as @Primary, updating the
consumer to accept multiple beans, or using @Qualifier to identify
the bean that should be consumed
>
```
Is there any workaround for this issue?
Thanks in advance,
Linos