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)
Wed, Jun 19, 10:53 PM
Unknown Object (File)
Wed, Jun 19, 10:24 AM
Unknown Object (File)
Wed, Jun 19, 10:24 AM
Unknown Object (File)
Wed, Jun 19, 10:23 AM
Unknown Object (File)
Wed, Jun 19, 10:21 AM
Unknown Object (File)
Sun, Jun 16, 5:48 PM
Unknown Object (File)
Fri, Jun 14, 7:01 AM
Unknown Object (File)
Wed, Jun 12, 3:10 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