In some deployment environment, such as centos7, it is noticed that demograpic authentication with UTF-8 data such as Arabic name, Arabic address fails with “HMAC validation failed” error. |
The reason for this issue is the ID authentication service could have a different default encoding applied due to the JVM setup in that OS (it should be UTF-8), resulting in difference in encoding for the characters loaded from the request body and hence failure in HMAC validation. To fix this issue, add the below VM argument in the IDA application start command.
-Dfile.encoding="UTF-8"
It should be also noted that the authentication client application should use UTF-8 character encoding while constructing authentication request and HMAC value calculation for that.
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu below. |
The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.
|