Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update oauth2 template (#13210)
boojackf60d2c13a1a1
diff --git a/frontend/src/components/SSO/IdentityProviderCreateForm.vue b/frontend/src/components/SSO/IdentityProviderCreateForm.vueindex 56dfa7a50f..c56dbfca6d 100644--- a/frontend/src/components/SSO/IdentityProviderCreateForm.vue+++ b/frontend/src/components/SSO/IdentityProviderCreateForm.vue@@ -64,7 +64,7 @@:value="selectedTemplate?.title"><div- class="w-24 h-12 border rounded-md flex items-center justify-center"+ class="w-auto px-3 py-2 border rounded-md flex items-center justify-center"><NRadio:value="template.title"@@ -1007,6 +1007,9 @@ const handleTemplateSelect = (template: IdentityProviderTemplate) => {...configForOAuth2.value,...template.config,};+ state.fieldMapping = FieldMapping.fromPartial(+ template.config.fieldMapping || {}+ );scopesStringOfConfig.value = template.config.scopes.join(" ");}};diff --git a/frontend/src/utils/idp.ts b/frontend/src/utils/idp.tsindex 1f435ef6fe..cf409c26ff 100644--- a/frontend/src/utils/idp.ts+++ b/frontend/src/utils/idp.ts@@ -98,6 +98,28 @@ export const identityProviderTemplateList: IdentityProviderTemplate[] = [},},},+ {+ title: "Microsoft Entra",+ name: "",+ domain: "",+ type: IdentityProviderType.OAUTH2,+ config: {+ clientId: "",+ clientSecret: "",+ authUrl: "https://login.microsoftonline.com/{uuid}/oauth2/v2.0/authorize",+ tokenUrl: "https://login.microsoftonline.com/{uuid}/oauth2/v2.0/token",+ userInfoUrl: "https://graph.microsoft.com/v1.0/me",+ scopes: ["user.read"],+ skipTlsVerify: false,+ authStyle: OAuth2AuthStyle.IN_PARAMS,+ fieldMapping: {+ identifier: "userPrincipalName",+ displayName: "displayName",+ email: "",+ phone: "",+ },+ },+ },{title: "Custom",name: "",