Skip to content

Commit b039c53

Browse files
Merge branch 'main' into bkellam/chat_multi_feedback
2 parents 1c8b29e + 4e34406 commit b039c53

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Fixed onboarding infinite loop when GCP IAP Auth is enabled. [#381](https://github.com/sourcebot-dev/sourcebot/pull/381)
12+
1013
### Added
1114
- Introducing Ask Sourcebot - ask natural langauge about your codebase. Get back comprehensive Markdown responses with inline citations back to the code. Bring your own LLM api key. [#392](https://github.com/sourcebot-dev/sourcebot/pull/392)
1215

packages/web/src/app/[domain]/layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ export default async function Layout({
9494
}
9595
}
9696

97-
if (!org.isOnboarded) {
97+
// If the org is not onboarded, and GCP IAP is not enabled, show the onboarding page
98+
if (!org.isOnboarded && !(env.AUTH_EE_GCP_IAP_ENABLED && env.AUTH_EE_GCP_IAP_AUDIENCE)) {
9899
return (
99100
<OnboardGuard>
100101
{children}

0 commit comments

Comments
 (0)