Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/web/src/lib/server/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ async function createAuth() {
...(creds.tokenUrl && { tokenUrl: creds.tokenUrl }),
scopes: scopeStr.split(/\s+/).filter(Boolean),
})
trustedProviders.push(provider.id)
// Do not trust arbitrary custom OIDC providers for automatic
// account linking. Built-in providers and dedicated workspace
// SSO are trusted separately.
Comment on lines +254 to +256
} else {
// Built-in social providers
const providerConfig: Record<string, string> = {
Expand Down
Loading