Page MenuHomePhabricator

[services] [6/n] authentication for search websocket server
ClosedPublic

Authored by will on Dec 22 2023, 12:25 AM.
Tags
None
Referenced Files
F2170867: D10438.diff
Tue, Jul 2, 4:12 PM
Unknown Object (File)
Mon, Jul 1, 10:57 AM
Unknown Object (File)
Mon, Jul 1, 10:57 AM
Unknown Object (File)
Mon, Jul 1, 10:57 AM
Unknown Object (File)
Mon, Jul 1, 10:57 AM
Unknown Object (File)
Mon, Jul 1, 10:57 AM
Unknown Object (File)
Mon, Jul 1, 10:57 AM
Unknown Object (File)
Wed, Jun 12, 2:17 PM
Subscribers

Details

Summary

Authentication verification for websocket connections to search websocket server.
Current implementation maintains connections must provide userID, deviceID, and accessToken.

Depends on D10392

Test Plan

Verified on staging with successful authentication and error messages

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Dec 22 2023, 12:38 AM
Harbormaster failed remote builds in B25312: Diff 34959!
will requested review of this revision.Dec 22 2023, 12:40 AM

Just saw

I think we should stick to either "unauth/auth" or "authenticated/unauthenticated" everywhere: in file names, package and module names. Mixing long and short form doesn't feel right. I vote for the short form.

Will take that into account

will planned changes to this revision.Jan 3 2024, 1:49 PM

Rebase with error messages introduced in [5/n]

varun added inline comments.
services/identity/src/websockets/mod.rs
179–331 ↗(On Diff #35178)

this function is very long. can you please create a linear task to break this up?

This revision is now accepted and ready to land.Jan 3 2024, 11:53 PM