Thanks Michele, I was scratching my head on this same issue.
Setting the encryption keys in the properties file makes sense so that the
codes will be decrypted accordingly between restarts of CAS server.
Regards,
Julio
On Monday, September 27, 2021 at 4:33:36 AM UTC-4 Michele Andreoli wrote:
Solved! I'm missing some configurations into *application.properties*
cas.authn.mfa.gauth.crypto.encryption.key=***
cas.authn.mfa.gauth.crypto.encryption.keySize=256
cas.authn.mfa.gauth.crypto.signing.key=***
cas.authn.mfa.gauth.crypto.signing.keySize=512
So after reboot, CAS will take these