Getting “Session expire” error when MFA is enabled. I have all the environment variables set up
UI_BAKERY_MFA_SECRET
UI_BAKERY_PROJECT_PRIVATE_KEY_SECRET
UI_BAKERY_AUTH_DEVICE_INFO_SECRET
Logs say “c.a.b.authentication.AuthController : Couldn’t load MFA context, session expired”
Any help?
Hi!
Can you share the exact value length of your UI_BAKERY_MFA_SECRET? It should be exactly 32 characters. Do you see any other errors in the bakery-back logs? Is your client/server time aligned with time servers (NTP)?
Thank you for your response. I managed to fix the issue. It was SSL settings in nginx config that was causing it.
1 Like