Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix push not working #5214

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Fix push not working #5214

merged 1 commit into from
Nov 20, 2024

Conversation

BlackDex
Copy link
Collaborator

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

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 dani-garcia#5182

Signed-off-by: BlackDex <black.dex@gmail.com>
@BlackDex BlackDex requested a review from dani-garcia November 20, 2024 15:41
@dani-garcia dani-garcia merged commit b0b953f into dani-garcia:main Nov 20, 2024
5 checks passed
@BlackDex BlackDex deleted the fix-push branch November 20, 2024 17:14
@tessus
Copy link
Contributor

tessus commented Nov 20, 2024

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

@BlackDex
Copy link
Collaborator Author

@tessus, those also use PascalCase too.

@tessus
Copy link
Contributor

tessus commented Nov 20, 2024

thx for the info

@mada199122
Copy link

I still not receive push notification when I try to login with an other device.

@BlackDex
Copy link
Collaborator Author

I still not receive push notification when I try to login with an other device.

Please do not comment on closed PR's that it is not working.
Open a new discussion and provide your support string which you can generate via /admin/diagnostics

Because it could be multiple things.

  • Wrong Bitwarden id, key or domain (US vs EU)
  • Vaultwarden is unable to connect to the internet
  • mobile token is not known

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants