Page MenuHomePhabricator

[keyserver] Pass `calendarQuery` to `processSuccessfulLogin` in `siweAuthResponder`
ClosedPublic

Authored by atul on Dec 28 2022, 7:20 PM.
Tags
None
Referenced Files
F3247865: D6078.diff
Fri, Nov 15, 7:13 AM
Unknown Object (File)
Wed, Nov 13, 5:33 AM
Unknown Object (File)
Wed, Nov 6, 6:32 AM
Unknown Object (File)
Wed, Nov 6, 6:31 AM
Unknown Object (File)
Tue, Nov 5, 2:45 PM
Unknown Object (File)
Mon, Nov 4, 11:25 PM
Unknown Object (File)
Mon, Nov 4, 11:24 PM
Unknown Object (File)
Mon, Nov 4, 11:24 PM
Subscribers
None

Details

Summary

Context: https://linear.app/comm/issue/ENG-2575/pass-calendarquery-up-from-client-to-siweauthresponder

https://phab.comm.dev/D6060#inline-40815

Should have done this earlier... calendarQuery was already being included in SIWEAuthRequest.


Depends on D6077

Test Plan

Set breakpoints and observed that calendarQuery "made it" to processSuccessfulLogin as expected.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Dec 28 2022, 7:21 PM
ashoat requested changes to this revision.Dec 28 2022, 7:25 PM

How about the native side to send this field up?

keyserver/src/responders/user-responders.js
337 ↗(On Diff #20276)

It shouldn't be optional. It's only optional for other responders to support old clients

This revision now requires changes to proceed.Dec 28 2022, 7:25 PM
keyserver/src/responders/user-responders.js
337 ↗(On Diff #20276)

Ah gotcha, updating

How about the native side to send this field up?

calendarQuery is already a required field of SIWEAuthServerCall.

don't include normalizeCalendarQuery as a step

This revision is now accepted and ready to land.Dec 28 2022, 8:27 PM

rebase around D6077 before landing