|Applies To||RSA Product Set: Adaptive Authentication (OnPrem)|
RSA Product/Service Type: Adaptive Authentication (OnPrem)
RSA Version/Condition: 7.x
|Issue||Customer is receiving error for Token decrypt:|
Couldn't decrypt/unwrap device token: PMV62QOzgD8fdRpaxSNhgWDgtDTYeGy9N8QUU3G6bA3TrfOVITImPG/WmQ JYatWvmQ0fjayLUv2RDZq3RPP8pOxim4Q== with msg: java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal character
|Cause||As it can be noticed in the Device Token sent by the customer, there are invalid characters in the string including a blank space. |
It is possible that the customer is receiving the token in a URL Encoded format and their application is decoding it before sending back to AA.
|Resolution||It is highly recommended to send back to AA the same Device Token string as it was received from the initial call. This Device Token information should not be changed in any way, not encoded, re-encoded, decoded or altered.|