dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
39.25k stars 1.9k forks source link

Fix push not working #5214

Closed BlackDex closed 1 day ago

BlackDex commented 2 days ago

The new native mobile clients seem to use PascalCase for the push payload. Also the date/time could cause issues.

This PR fixes this by formatting the date/time correctly and use PascalCase for the payload key's I now receive cipher updates and login-with-device requests again.

Fixes #5182

tessus commented 1 day ago

@BlackDex what happens when "old" clients are used? or do they ignore the case of the keys in the payload?

BlackDex commented 1 day ago

@tessus, those also use PascalCase too.

tessus commented 1 day ago

thx for the info