mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-30 08:16:49 +00:00
fix: tenant id to never be undefined on teams (#5572)
* fix: tenant id to never be undefined * simplify azure oauth * simplify azure oauth * update ee ref * sqlx prepare * sqlx prepare
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
extra_params: { tenant_id: string }
|
||||
extra_params_callback: Record<string, any>
|
||||
} = {
|
||||
scopes: [],
|
||||
scopes: ['offline_access'],
|
||||
auth_url: '',
|
||||
token_url: '',
|
||||
req_body_auth: true,
|
||||
|
||||
@@ -71,7 +71,11 @@
|
||||
disabled={eeOnly && !$enterpriseLicense}
|
||||
on:change={(e) => {
|
||||
if (e.detail) {
|
||||
value = { id: '', secret: '' }
|
||||
if (name === 'teams' || name === 'microsoft') {
|
||||
value = { id: '', secret: '', tenant: '' }
|
||||
} else {
|
||||
value = { id: '', secret: '' }
|
||||
}
|
||||
} else {
|
||||
value = undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user