Page MenuHomePhabricator

[protos][identity] Add username to AuthResponse
ClosedPublic

Authored by bartek on May 20 2024, 7:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 10:11 AM
Unknown Object (File)
Mon, Oct 21, 9:00 PM
Unknown Object (File)
Mon, Oct 21, 2:32 AM
Unknown Object (File)
Thu, Oct 17, 1:42 PM
Unknown Object (File)
Tue, Oct 15, 6:08 PM
Unknown Object (File)
Mon, Oct 14, 10:29 PM
Unknown Object (File)
Fri, Oct 11, 10:33 PM
Unknown Object (File)
Fri, Oct 11, 1:08 AM
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