Skip to content

Commit

Permalink
feat(fido2): allow to update device data in SG authentication respons…
Browse files Browse the repository at this point in the history
…e jans #8116

Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
  • Loading branch information
yurem committed Mar 22, 2024
1 parent 9a91832 commit 59695ca
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ private void prepareForPushTokenChange(DeviceRegistration deviceRegistration) {

DeviceNotificationConf deviceNotificationConf = null;
try {
String responseDeviceDataDecoded = new String(Base64Util.base64urldecode(deviceNotificationConfString));
deviceNotificationConf = ServerUtil.jsonMapperWithWrapRoot().readValue(responseDeviceDataDecoded, DeviceNotificationConf.class);
deviceNotificationConf = ServerUtil.jsonMapperWithWrapRoot().readValue(deviceNotificationConfString, DeviceNotificationConf.class);
} catch (Exception ex) {
log.error("Failed to parse device notifacation configuration '{}'", deviceNotificationConfString);
}
Expand Down

0 comments on commit 59695ca

Please sign in to comment.