Malformed Secret Error on Authentication

Mohamad Ramadan asked on December 8, 2020 14:16

i'm working on kentico verison 12 sp for mvc and we implemented authentication handler to send OTP to user by email the pass code is sent on local machine but on server it gives an error

Source:MF Authentication
Event code:MALFORMEDSECRET    User '' has a malformed MF secret.
Message: Error occurred during a cryptographic operation.
 Exception type: System.Security.Cryptography.CryptographicException

i've searched and added machine key on server on webconfig but still it gives the error and not able to send key what is the solution for this error

i found the it gives error for previously used users, but new login is working fine !!

Recent Answers


Daniel Hall answered on March 9, 2021 10:38

Hi Mohamad,

Did you ever figure this one out? I'm having a similar issue.

Thanks Daniel

0 votesVote for this answer Mark as a Correct answer

Md Shariful Haque answered on March 18, 2021 03:43 (last edited on March 18, 2021 03:44)

We have been facing similar issue in our application and needs to reset user MFA once in a while to fix this. Is there any solution to this problem? We sending out passcode to the user over their phone carrier as text message and this feature often have a hiccup due to this issue.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.