gristlabs_grist-core/test/server/lib
Dmitry S 3210eee24f (core) Revamp ForwardAuthLogin and unify with GRIST_PROXY_AUTH_HEADER
Summary:
By default, only respect GRIST_FORWARD_AUTH_HEADER on login endpoints; sessions are used elsewhere.

With GRIST_IGNORE_SESSION, do not use sessions, and respect GRIST_FORWARD_AUTH_HEADER on all endpoints.

GRIST_PROXY_AUTH_HEADER is now a synonym to GRIST_FORWARD_AUTH_HEADER.

Test Plan: Fixed tests. Tested first approach (no GRIST_IGNORE_SESSION) with grist-omnibus manually. Tested the second approach (with GRIST_IGNORE_SESSION) with a Apache-based setup enforcing http basic auth on all endpoints.

Reviewers: paulfitz, georgegevoian

Reviewed By: paulfitz, georgegevoian

Differential Revision: https://phab.getgrist.com/D4104
2023-11-07 16:30:49 -05:00
..
helpers (core) Update dependencies 2023-10-11 17:36:58 -04:00
ACLFormula.ts Dump the rule for ACL formula warnings (#639) 2023-08-23 09:23:29 -04:00
Assistance.ts (core) move assistant test 2023-08-22 08:14:48 -04:00
Authorizer.ts (core) Revamp ForwardAuthLogin and unify with GRIST_PROXY_AUTH_HEADER 2023-11-07 16:30:49 -05:00
DocApi2.ts getHostType: consider APP_DOC_INTERNAL_URL as native (#715) 2023-11-06 09:24:59 +01:00
DocApi.ts (core) updates from grist-core 2023-10-17 06:47:46 +02:00
HostedStorageManager.ts (core) updates from grist-core 2023-05-30 08:32:34 -04:00
ManyFetches.ts Fix ManyFetches test, and include into grist-core a needed upgrade to the 'ws' package. (#614) 2023-08-07 18:39:14 -04:00
MemoryPool.ts (core) Manage memory used for websocket responses to reduce the risk of server crashes. 2023-08-07 11:28:31 -04:00
MinIOExternalStorage.ts Issue 359 support scaleway (#577) 2023-07-20 06:16:58 -04:00
ProxyAgent.ts (core) Add logging of errors whenever ProxyAgent is used, and a test for it. 2023-05-17 10:21:53 -04:00
Telemetry.ts (core) Add new telemetry events 2023-11-01 10:49:33 -04:00
Webhooks-Proxy.ts (core) Update dependencies 2023-10-11 17:36:58 -04:00