diff --git a/internal/vaultwarden/api_client.go b/internal/vaultwarden/api_client.go index 838cde1..27ccf5a 100644 --- a/internal/vaultwarden/api_client.go +++ b/internal/vaultwarden/api_client.go @@ -414,7 +414,7 @@ func (ac *APIClient) loginWithPassword(hashedPassword string) (*TokenResponse, e "password": {hashedPassword}, "scope": {"api offline_access"}, "client_id": {"web"}, - "deviceType": {"10"}, + "deviceType": {"14"}, "deviceIdentifier": {ac.deviceID}, "deviceName": {"vaultwarden-api"}, } @@ -429,7 +429,7 @@ func (ac *APIClient) loginWithAPIKey() (*TokenResponse, error) { "client_id": {ac.clientID}, "client_secret": {ac.clientSecret}, "scope": {"api"}, - "deviceType": {"10"}, + "deviceType": {"14"}, "deviceIdentifier": {ac.deviceID}, "deviceName": {"vaultwarden-api"}, }