Page MenuHomePhabricator

[web] add identity password login to traditional-login-form.react.js
ClosedPublic

Authored by varun on Jan 25 2024, 12:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 1:26 AM
Unknown Object (File)
Wed, Oct 23, 5:12 AM
Unknown Object (File)
Wed, Oct 23, 3:58 AM
Unknown Object (File)
Fri, Oct 18, 3:37 PM
Unknown Object (File)
Fri, Oct 18, 3:36 PM
Unknown Object (File)
Fri, Oct 18, 3:36 PM
Unknown Object (File)
Fri, Oct 18, 3:36 PM
Unknown Object (File)
Fri, Oct 18, 6:55 AM
Subscribers
None

Details

Summary

can now successfully log in to the identity service from web with username/password if usingCommServicesAccessToken is enabled

registering users reserved on ashoat's keyserver will be handled in ENG-4033 and will be transparent to the user, so no changes will be needed here

Depends on D10817

Test Plan

successfully logged in to identity service from web modal. also tested that the correct error message is displayed if user isn't registered

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/types/redux-types.js
401 ↗(On Diff #36141)

realized i previously missed this

web/grpc/identity-service-client-wrapper.js
213 ↗(On Diff #36141)

simplifying the error that we throw here so that it's easier to inspect in identityPasswordLogInAction

the console log should give us enough context, anyway

ashoat added inline comments.
web/account/traditional-login-form.react.js
125 ↗(On Diff #36141)

Can you add a screenshot of what this looks like? I want to make sure it doesn't overflow the bounds

This revision is now accepted and ready to land.Jan 25 2024, 5:56 PM

Screenshot 2024-02-08 at 12.26.24 AM{F1128612}

web/account/traditional-login-form.react.js
125 ↗(On Diff #36141)

shared a screenshot on latest revision. also this is the same text we have on line 99