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
F3350478: D10438.diff
Fri, Nov 22, 10:47 PM
Unknown Object (File)
Thu, Nov 7, 1:09 AM
Unknown Object (File)
Oct 18 2024, 6:38 AM
Unknown Object (File)
Oct 18 2024, 6:38 AM
Unknown Object (File)
Oct 18 2024, 6:38 AM
Unknown Object (File)
Oct 18 2024, 6:38 AM
Unknown Object (File)
Oct 18 2024, 6:38 AM
Unknown Object (File)
Oct 18 2024, 5:15 AM
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
Branch
identity-search
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