use env var to set AllowOrigin in config.
Depends on D11193
Paths
| Differential D11194 Authored by varun on Feb 28 2024, 10:35 PM.
Details Summary use env var to set AllowOrigin in config. Depends on D11193 Test Plan tested on staging and confirmed that all only the origins listed in terraform are allowed.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptFeb 28 2024, 10:35 PM2024-02-28 22:35:30 (UTC-8) Harbormaster completed remote builds in B27224: Diff 37683.Feb 28 2024, 10:50 PM2024-02-28 22:50:17 (UTC-8) tomek added inline comments.
This revision now requires changes to proceed.Feb 29 2024, 12:49 AM2024-02-29 00:49:49 (UTC-8)
varun added a child revision: D11207: [web] fix regression in error handling.Mar 1 2024, 12:37 PM2024-03-01 12:37:57 (UTC-8) Harbormaster completed remote builds in B27255: Diff 37732.Mar 1 2024, 12:50 PM2024-03-01 12:50:53 (UTC-8) This revision is now accepted and ready to land.Mar 4 2024, 12:48 AM2024-03-04 00:48:43 (UTC-8)
varun retitled this revision from [identity] separate allow origin lists for staging and prod to [identity] add allow origin list to config struct. Comment Actionsparse allow origin list when creating config
This revision was landed with ongoing or failed builds.Mar 5 2024, 12:46 PM2024-03-05 12:46:49 (UTC-8) Closed by commit rCOMMf17f04eb263d: [identity] add allow origin list to config struct (authored by varun). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B27341: Diff 37859.Mar 5 2024, 1:06 PM2024-03-05 13:06:28 (UTC-8)
Revision Contents
Diff 37732 services/identity/src/config.rs
services/identity/src/constants.rs
services/identity/src/cors.rs
|