Tausif Iqbal
unread,Nov 13, 2024, 7:57:07 AM11/13/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community, Ray Bon, lon...@gmail.com, mmoa...@unicon.net, tausifi...@gmail.com
Hi Ray , Thankyou for your suggestion,
Luckily I found below configuration in the doc
https://apereo.github.io/cas/7.1.x/authentication/Configuring-Authentication-Policy-All.html```
cas.authn.policy.all-handlers.enabled=false
cas.authn.policy.all-handlers.name=CustomDelegatedClientAuthenticationHandler,
QueryDatabaseAuthenticationHandler```
with these I am able to control the handlers that CAS can use to authenticate.
Now I have two webflow setups: one uses
`QueryDatabaseAuthenticationHandler` and the other uses `CustomDelegatedClientAuthenticationHandler` with MFA enabled on both.
The issue is after a user registers on Google Authenticator through webflow1 (
QueryDatabaseAuthenticationHandler+MFA), if the same user tries to log in through webflow2 (CustomDelegatedClientAuthenticationHandler
+MFA) , he is asked to register again on google authenticator.
What I want is this: if a user registers on Google Authenticator through Webflow 1, and later tries to log in through Webflow 2, he should not be asked to register again on Google Authenticator.
My suspicion
is that MFA is generating different secrets for QueryDatabaseAuthenticationHandler and CustomDelegatedClientAuthenticationHandler.
is there a way I can configure MFA so that if the email is the same, it treats the user as the same across both setups?
Thankyou for your help