Error "Could not read the current login configuration" when trying to access PMAdmin and enforce 2FA for Admin and HelpDesk
说明
The following error may appear when configuring 2FA for Administrator or HelpDesk users.
"Could not read the current login configuration. Please check the logs for more information. Unable to get providers. Please check your settings and authentication providers in 'General Settings / Secure Token Server'."
原因
Secure Toke Server requires a certificate to be associated with the website, this error may be experienced if the PMAdmin URL doesn't match with the common name set in the certificate.
解决办法
Make sure the Secure Token Server is properly configured and the PMAdmin URL matches the common name configured for the certificate.