Skip to content

Commit a816acd

Browse files
committed
Fix bug usage of data explorer when not authenticated
1 parent d539808 commit a816acd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

web/src/core/bootstrap.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ export async function bootstrapCore(
145145
}),
146146
sqlOlap: createDuckDbSqlOlap({
147147
getS3Config: async () => {
148+
if (!oidc.isUserLoggedIn) {
149+
return undefined;
150+
}
151+
148152
const result = await dispatch(
149153
usecases.s3ConfigManagement.protectedThunks.getS3ConfigAndClientForExplorer()
150154
);

0 commit comments

Comments
 (0)