Files
vaultwarden/src
cdf2035433 Do not fail login when push device registration fails (#7378)
register_push_device() runs on re-authentication of an existing device
in authenticated_response(). Its error was propagated with `?`, so a
failure talking to the push relay/identity server (e.g. an undecodable
response in get_auth_api_token(), "Unexpected push token received from
bitwarden server") turned a successful authentication into a 400 Bad
Request on POST /identity/connect/token.

Handle the registration best-effort instead: log the error and continue,
mirroring the new-device login email handling a few lines above. The
device is still saved afterwards, and a re-login no longer fails when the
push relay/identity endpoint misbehaves.

Fixes #7371

Co-authored-by: max <max@maxmax.ch>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-11-23 01:52:37 +01:00
..
2026-11-23 01:42:58 +01:00
2026-11-19 15:01:35 +01:00
2026-11-18 22:33:23 +01:00
2026-04-29 22:25:36 +02:00
2026-11-18 22:33:23 +01:00
2026-11-18 22:33:23 +01:00
2026-11-18 22:33:23 +01:00
2026-11-18 22:33:23 +01:00
2026-11-18 22:33:23 +01:00