Jose Luis,

You can make the username all one case. See 
https://apereo.github.io/cas/7.0.x/installation/Configuring-Principal-Resolution.html
 under the Principal Transform tab.

Ray
________________________________
From: [email protected] <[email protected]> on behalf of Jose Luis Mart?nez 
del Amor <[email protected]>
Sent: 18 July 2024 00:38
To: CAS Developer <[email protected]>
Subject: [cas-dev] Username case in RedisMultifactorAuthenticationTrustStorage

You don't often get email from [email protected]. Learn why 
this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi,
Users complain that CAS asks for Google codes more times than necessary when 
the device is trusted. I think the problem is in the format of the username, 
while Google Authenticator Token Credential always generates the key with 
lowercase username:

RedisGoogleAuthenticatorTokenCredentialRepository:username:1716325316852

The trusted device repository stores the username in case entered by the user:

RedisMultifactorAuthenticationTrustStorage:UserName:1719664679226

Then, when users changes the capital letters in username, CAS requests another 
code from Google Authenticator.

Regards,
Jose Luis


--
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-dev/f4e64729-1fc1-41aa-955c-a321a707a6ddn%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-dev/f4e64729-1fc1-41aa-955c-a321a707a6ddn%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-dev/YT3PR01MB9946A6063A0A1AE3DB5675D1CEA82%40YT3PR01MB9946.CANPRD01.PROD.OUTLOOK.COM.

Reply via email to