Skip to content

Commit

Permalink
Fixes auth screen for single org users using env variables for setup (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pushchris authored Oct 14, 2024
1 parent 95c7337 commit 4602830
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/platform/src/auth/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export const initProvider = (config?: AuthProviderConfig): AuthProvider => {

export const authMethods = async (organization?: Organization): Promise<AuthMethod[]> => {

if (!App.main.env.config.multiOrg) return mapMethods(App.main.env.auth)

// If we know the org, don't require any extra steps like
// providing email since we know where to route you. Otherwise
// we need context to properly fetch SSO and such.
Expand Down

0 comments on commit 4602830

Please sign in to comment.