Hi, I'm trying to set up google 2FA using couchdb. I have added to build.graddle file: implementation "org.apereo.cas:cas-server-support-gauth:${project.'cas.version'}" implementation "org.apereo.cas:cas-server-support-couchdb-ticket-registry:${project.'cas.version'}" implementation "org.apereo.cas:cas-server-support-gauth-couchdb:${project.'cas.version'}"
And in etc/cas/config/cas.properties file I have the following lines: cas.ticket.registry.couch-db.db-name=cas cas.ticket.registry.couch-db.password=my_pass cas.ticket.registry.couch-db.url=http://localhost:5984 cas.ticket.registry.couch-db.username=admin cas.authn.mfa.gauth.couch-db.db-name=cas cas.authn.mfa.gauth.couch-db.password=my_pass cas.authn.mfa.gauth.couch-db.url=http://localhost:5984 cas.authn.mfa.gauth.couch-db.username=admin When run "./gradlew clean copyCasConfiguration build run" in couchdb I saw correctly db cas created, with two document: CouchDbGoogleAuthenticatorAccount and TicketDocument But I get this error: Current WebApplicationContext is not available for processing of GoogleAuthenticatorCouchDbTokenRepository: Make sure this class gets constructed in a Spring web application after the Spring WebApplicationContext has been initialized. Proceeding without injection. Effectively in cas db there isn't a GoogleAuthenticatorCouchDbToken document. Where is my mistake? What did I miss? Thanks in advance. v. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAO79vSCH2c9TVOO6Yw0x7ct-7s%2Bt4nBPYMxoTNy%3DdijopjV0fQ%40mail.gmail.com.