Page MenuHomePhabricator

[protos][identity] Add username to AuthResponse
ClosedPublic

Authored by bartek on May 20 2024, 7:14 AM.
Tags
None
Referenced Files
F3386309: D12127.diff
Fri, Nov 29, 4:12 AM
Unknown Object (File)
Tue, Nov 26, 6:26 AM
Unknown Object (File)
Tue, Nov 26, 4:44 AM
Unknown Object (File)
Mon, Nov 25, 6:12 AM
Unknown Object (File)
Wed, Nov 13, 6:42 AM
Unknown Object (File)
Mon, Nov 11, 12:17 PM
Unknown Object (File)
Mon, Nov 11, 8:13 AM
Unknown Object (File)
Sun, Nov 10, 10:07 PM
Subscribers

Details

Summary

Address ENG-8137.

It turns out to be simple to add username to the AuthResponse on Identity side.
On proto/RPC side, this is also backwards compatible from both sides. If the response doesn't contain username field (client has newer version than deployed Identity Service), it will be defaulted to empty string.

Test Plan

Tested together with D12134 - verified AuthResponse to contain a username in all registration and login RPCs

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.May 21 2024, 12:25 AM
bartek edited the test plan for this revision. (Show Details)

Proto and JS changes look good! Resigning to let somebody else look at Rust changes

This revision is now accepted and ready to land.May 21 2024, 1:58 AM