Hi, cas overlay with 7.2 it's saying mfa provider unavailable after successfull credential validation expecting: it should send email as per configuration with token after token enter it should say login successfull
please find the below configuration. 1.application.properties cas.authn.mfa.simple.token.core.time-to-kill-in-seconds=30 cas.authn.mfa.simple.token.core.token-length=6 cas.authn.mfa.simple.name=mfa-simple cas.authn.mfa.simple.order=1 cas.authn.mfa.simple.globalPrincipalAttributeNameTriggers=memberof cas.authn.mfa.simple.globalPrincipalAttributeValueRegex=grouptest cas.authn.mfa.simple.mail.from=****@gmail.com cas.authn.mfa.simple.mail.text=Hello! Your requested CAS token is %s cas.authn.mfa.simple.mail.subject=CAS MFA Token cas.authn.mfa.simple.mail.attributeName=mail cas.authn.mfa.triggers.global.global-provider-id=mfa-simple cas.authn.mfa.global-provider-id=mfa-simple cas.authn.accept.users=null cas.authn.jdbc.query[0].sql=**** cas.authn.jdbc.query[0].url=jdbc:mysql://*.*.*.*:3306/test cas.authn.jdbc.query[0].dialect=org.hibernate.dialect.MySQLDialect cas.authn.jdbc.query[0].user=**** cas.authn.jdbc.query[0].password=**** cas.authn.jdbc.query[0].ddlAuto=none cas.authn.jdbc.query[0].driverClass=com.mysql.cj.jdbc.Driver cas.authn.jdbc.query[0].fieldPassword=**** cas.authn.jdbc.query[0].passwordEncoder.type=**** cas.webflow.auto-configuration.order=0 cas.webflow.auto-configuration.enabled=true password.management.enabled=true spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.ssl.enable=true spring.mail.properties.mail.smtp.auth=true spring.mail.host=smtp.gmail.com spring.mail.username=***@gmail.com spring.mail.protocol=smtp spring.mail.password=**** spring.mail.port=587 spring.mail.testConnection=true spring.mail.default-encoding=UTF-8 after successfull credentials validation it's giving the following error, MFA provider unavailable PFA. On Tuesday, September 10, 2024 at 6:45:59 AM UTC+5:30 Ray Bon wrote: > Agus, > > My interpretation of the docs is that if you fill in both sms and email, > the user will get to choose (or cas will send to both). > > Ray > > On Fri, 2024-09-06 at 06:26 -0700, Agus Santosa wrote: > > You don't often get email from [email protected]. Learn why this is > important <https://aka.ms/LearnAboutSenderIdentification> > > Hi, > > I am trying to implement mfa-simple with email and sms as available > options to users. > In my property file, I have the following properties defined > > cas.authn.mfa.triggers.global.global-provider-id=mfa-simple > > cas.authn.mfa.simple.sms.attribute-name=phone > .... > > cas.authn.mfa.simple.mail.attribute-name=email > .... > > cas.authn.mfa.core.provider-selection.provider-selection-enabled=true > > > I am not sure what to provide in the > "cas.authn.mfa.triggers.global.global-provider-id" property, because both > email and sms are in the same "mfa-simple" provider. > > Is there a way to do it without any custom codes? > > > > -- - Website: https://apereo.github.io/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 [email protected]. To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e8097bfa-7920-478a-a276-327bdbadd274n%40apereo.org.
