Page MenuHomePhabricator

[protos][identity] Add username to AuthResponse
ClosedPublic

Authored by bartek on May 20 2024, 7:14 AM.
Tags
None
Referenced Files
F3365000: D12127.id40415.diff
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
Unknown Object (File)
Sat, Nov 9, 10:32 PM
Unknown Object (File)
Fri, Nov 8, 4:13 AM
Unknown Object (File)
Wed, Nov 6, 9:55 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