diff --git a/webapp/packages/core-authentication/src/UserInfoResource.ts b/webapp/packages/core-authentication/src/UserInfoResource.ts index 2f3c6b73bd..aa268c7f70 100644 --- a/webapp/packages/core-authentication/src/UserInfoResource.ts +++ b/webapp/packages/core-authentication/src/UserInfoResource.ts @@ -26,6 +26,8 @@ export interface ILoginOptions { linkUser?: boolean; } +export const ANONYMOUS_USER_ID = 'anonymous'; + @injectable() export class UserInfoResource extends CachedDataResource { readonly onUserChange: ISyncExecutor; @@ -66,7 +68,7 @@ export class UserInfoResource extends CachedDataResource