HomePhabricator
Diffusion Comm 423a88e10312

[lib] Add new olm auth action types and temporary identity login action types

Description

[lib] Add new olm auth action types and temporary identity login action types

Summary:
issue: ENG-6018 and ENG-6015
We want to add temporary, fake login action type for identity login - this is because @varun will be calling the real identity login before I'm done with the refactor
We also want to add a keyserver auth action type. This will be an action called to login / register on the ks, using the new endpoint which verifies the user with identity.

The payloads will be updated. KeyserverAuthResult I think will stay the same, it differs from LogInResult only in not having currentUserInfo, since it doesn't make sense for the keyserver to send the user their user info - they will have already gotten it from identity.

I will update payloads for identity login in next diffs, as I figure out what is needed. Probably some changes to it will also be introdeuced by @varun later on

Test Plan: flow

Reviewers: michal, kamil, ginsu, varun

Reviewed By: varun

Subscribers: ashoat, tomek, varun

Differential Revision: https://phab.comm.dev/D10424

Details

Provenance
inkaAuthored on Dec 20 2023, 3:20 AM
Reviewer
varun
Differential Revision
D10424: [lib] Add new olm auth action types and temporary identity login action types
Parents
rCOMM5274f74c1c2a: [keyserver] olm auth responder
Branches
Unknown
Tags
Unknown