HomePhabricator
Diffusion Comm a6e536bd0be2

[identity] fix origin validation logic

Description

[identity] fix origin validation logic

Summary: on prod, we should not require a port in the allow origin list. https://web.comm.app should work.

Test Plan:
there's no good way to test this on prod currently.

added unit test to make sure "https://web.comm.app" origin works. this should unblock release.

To test if grpc-web works on prod, @bartek suggested that we silently add some Ping calls in the next web release and just see if they fail or not

Reviewers: will, bartek

Reviewed By: will

Subscribers: ashoat, tomek

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

Details

Provenance
varunAuthored on May 20 2024, 3:31 AM
Reviewer
will
Differential Revision
D12106: [identity] fix origin validation logic
Parents
rCOMM07f2aa829637: [keyserver] introduce fetchCommunityInfos
Branches
Unknown
Tags
Unknown