Page MenuHomePhabricator

[identity] Better handle new flow users in v1 logout
ClosedPublic

Authored by bartek on Feb 18 2025, 1:51 AM.
Tags
None
Referenced Files
F6266232: D14380.id.diff
Fri, Apr 25, 10:49 AM
Unknown Object (File)
Fri, Apr 25, 7:37 AM
Unknown Object (File)
Fri, Apr 25, 4:15 AM
Unknown Object (File)
Fri, Apr 25, 1:21 AM
Unknown Object (File)
Fri, Apr 25, 12:24 AM
Unknown Object (File)
Thu, Apr 24, 3:00 PM
Unknown Object (File)
Thu, Apr 24, 8:41 AM
Unknown Object (File)
Tue, Apr 1, 6:26 PM
Subscribers

Details

Summary

Addresses 1 and 2a from ENG-10202.

  • For v2 flow primary device logout, display an error message
  • For v1 flow primary device logout, remove backup to future-proof restore flow (make sure it falls back to v1).
Test Plan

Tested on staging

Diff Detail

Repository
rCOMM Comm
Branch
barthap/dev
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.

Add backup service url to commtest config

bartek published this revision for review.Feb 18 2025, 6:44 AM
bartek added inline comments.
services/identity/src/grpc_services/authenticated.rs
398–401

This can trigger alarms. Wondering if should lower it to warn.

kamil added inline comments.
services/identity/src/grpc_services/authenticated.rs
398–401

I would leave it as it is - we can lower if needed

1291

should we reuse to reduce code duplication, e.g. verify_device_on_device_list?

This revision is now accepted and ready to land.Feb 19 2025, 2:34 AM
services/identity/src/grpc_services/authenticated.rs
1291

Yes, good find

Use get_current_device_list helper in other places