diff --git a/common/spaces/http_space_primitives.ts b/common/spaces/http_space_primitives.ts index 4da0467..38a4704 100644 --- a/common/spaces/http_space_primitives.ts +++ b/common/spaces/http_space_primitives.ts @@ -22,6 +22,8 @@ export class HttpSpacePrimitives implements SpacePrimitives { ): Promise { const result = await fetch(url, options); if (result.status === 401) { + // Invalid credentials, reloading the browser should trigger a BasicAuth dialog + location.reload(); throw Error("Unauthorized"); } return result;