zuul/web
Dong Zhang f10ce32b23 Fix loop when api-root authentication is configured
When api-root authentication is configured, access of zuul/api/tenants
would fail with 401 before authentication is done. Before this fix,
however, the browser would continuesly sending the request before
it has a chance to redirect to the authenticate page, which results
in a endless loop in some browser (as tested in Firefox), or loops for
randomly a few seconds and finally redirected to the authentication
page (as tested in Chrome).

It is fixed that it calls fetchTenantsIfNeeded() only when authentication
is done or not needed (api-root authencation is not configured).

Change-Id: I2cc67c791d694f329cd48c09d81cdda452eff12c
2024-05-08 14:27:22 +02:00
..
public Add script to generate openapi spec 2024-03-09 11:25:40 -08:00
src Fix loop when api-root authentication is configured 2024-05-08 14:27:22 +02:00
.eslintrc Don't enforce js whitespace 2020-11-20 06:26:36 -08:00
config-overrides.js Build zuul web with esbuild 2022-10-10 10:01:52 -07:00
package.json Update moment version 2023-11-08 13:55:29 -08:00
yarn.lock Update moment version 2023-11-08 13:55:29 -08:00