Aller au contenu principal

Services externes avec OAuth géré

Databricks propose des flux OAuth gérés pour certains fournisseurs d'outils API. Vous n'avez pas besoin d'enregistrer votre propre application OAuth ni de gérer les identifiants. Databricks recommande l'OAuth géré pour le développement et les tests. Si les cas d'utilisation en production nécessitent la génération d'identifiants OAuth personnalisés, veuillez consulter la documentation des fournisseurs pour plus d'informations.

Exigences

Créez une connexion HTTP Unity Catalog avec le type d'authentification OAuth User to Machine Per User , et sélectionnez votre fournisseur dans le menu déroulant OAuth Provider . Pour des étapes détaillées, consultez Créer une connexion au service externe.

Services avec prise en charge OAuth gérée

Les intégrations suivantes utilisent des informations d'identification OAuth que Databricks gère et stocke en toute sécurité dans le backend.

Fournisseur

Notes de configuration

Portées prises en charge

Description

API Google Drive

Aucun

https://www.googleapis.com/auth/drive.readonly https://www.googleapis.com/auth/documents.readonly https://www.googleapis.com/auth/spreadsheets.readonly https://www.googleapis.com/auth/drive.file offline_access

Accès en lecture aux fichiers Google Drive, y compris Google Docs et Google Sheets, ainsi qu’un accès en écriture aux fichiers que l’application crée ou ouvre.

API Gmail

Aucun

https://www.googleapis.com/auth/gmail.modify offline_access

Accès en lecture et en écriture aux messages, fils de discussion, brouillons et libellés Gmail.

API Google Calendar

Aucun

https://www.googleapis.com/auth/calendar.readonly https://www.googleapis.com/auth/calendar.events offline_access

Accès en lecture aux agendas Google Calendar et aux informations de disponibilité, ainsi qu'un accès en lecture et en écriture aux événements.

API Microsoft 365

Aucun

https://graph.microsoft.com/Sites.Read.All https://graph.microsoft.com/User.Read https://graph.microsoft.com/Files.Read.All https://graph.microsoft.com/Chat.Read https://graph.microsoft.com/Channel.ReadBasic.All https://graph.microsoft.com/ChannelMessage.Read.All https://graph.microsoft.com/Mail.Read https://graph.microsoft.com/Mail.Read.Shared https://graph.microsoft.com/Calendars.Read https://graph.microsoft.com/Calendars.Read.Shared https://graph.microsoft.com/OnlineMeetingTranscript.Read.All https://graph.microsoft.com/OnlineMeetingAiInsight.Read.All https://graph.microsoft.com/OnlineMeetingArtifact.Read.All https://graph.microsoft.com/OnlineMeetingRecording.Read.All https://graph.microsoft.com/User.ReadBasic.All https://graph.microsoft.com/Team.ReadBasic.All https://graph.microsoft.com/Sites.ReadWrite.All https://graph.microsoft.com/ChatMessage.Send https://graph.microsoft.com/ChannelMessage.Send https://graph.microsoft.com/Mail.ReadWrite https://graph.microsoft.com/Calendars.ReadWrite offline_access openid profile email

Accès en lecture et en écriture via Microsoft Graphe aux fichiers SharePoint et OneDrive, aux e-mails et au calendrier Outlook, ainsi qu'aux discussions, canaux de distribution et réunions Microsoft Teams.

Fournisseur

Notes de configuration

Portées prises en charge

Description

API Google Drive

Aucun

https://www.googleapis.com/auth/drive.readonly https://www.googleapis.com/auth/documents.readonly https://www.googleapis.com/auth/spreadsheets.readonly https://www.googleapis.com/auth/drive.file offline_access

Accès en lecture aux fichiers Google Drive, y compris Google Docs et Google Sheets, ainsi qu’un accès en écriture aux fichiers que l’application crée ou ouvre.

API Gmail

Aucun

https://www.googleapis.com/auth/gmail.modify offline_access

Accès en lecture et en écriture aux messages, fils de discussion, brouillons et libellés Gmail.

API Google Calendar

Aucun

https://www.googleapis.com/auth/calendar.readonly https://www.googleapis.com/auth/calendar.events offline_access

Accès en lecture aux agendas Google Calendar et aux informations de disponibilité, ainsi qu'un accès en lecture et en écriture aux événements.

API Microsoft 365

Aucun

https://graph.microsoft.com/Sites.Read.All https://graph.microsoft.com/User.Read https://graph.microsoft.com/Files.Read.All https://graph.microsoft.com/Chat.Read https://graph.microsoft.com/Channel.ReadBasic.All https://graph.microsoft.com/ChannelMessage.Read.All https://graph.microsoft.com/Mail.Read https://graph.microsoft.com/Mail.Read.Shared https://graph.microsoft.com/Calendars.Read https://graph.microsoft.com/Calendars.Read.Shared https://graph.microsoft.com/OnlineMeetingTranscript.Read.All https://graph.microsoft.com/OnlineMeetingAiInsight.Read.All https://graph.microsoft.com/OnlineMeetingArtifact.Read.All https://graph.microsoft.com/OnlineMeetingRecording.Read.All https://graph.microsoft.com/User.ReadBasic.All https://graph.microsoft.com/Team.ReadBasic.All https://graph.microsoft.com/Sites.ReadWrite.All https://graph.microsoft.com/ChatMessage.Send https://graph.microsoft.com/ChannelMessage.Send https://graph.microsoft.com/Mail.ReadWrite https://graph.microsoft.com/Calendars.ReadWrite offline_access openid profile email

Accès en lecture et en écriture via Microsoft Graphe aux fichiers SharePoint et OneDrive, aux e-mails et au calendrier Outlook, ainsi qu'aux discussions, canaux de distribution et réunions Microsoft Teams.

Le fournisseur invite chaque utilisateur à s'autoriser lors de la première utilisation.

Si nécessaire, autorisez les URI de redirection suivants qu'OAuth géré utilise :

Cloud

URI de redirection

AWS

https://oregon.cloud.databricks.com/api/2.0/http/oauth/redirect

Azure

https://westus.azuredatabricks.net/api/2.0/http/oauth/redirect

GCP

https://us-central1.gcp.databricks.com/api/2.0/http/oauth/redirect

Cloud

URI de redirection

AWS

https://oregon.cloud.databricks.com/api/2.0/http/oauth/redirect

Azure

https://westus.azuredatabricks.net/api/2.0/http/oauth/redirect

GCP

https://us-central1.gcp.databricks.com/api/2.0/http/oauth/redirect

Pour les fournisseurs OAuth gérés avec un serveur MCP publié, tels que Glean, GitHub, Atlassian et Slack, Databricks peut gérer les identifiants OAuth lorsque vous enregistrez le serveur en tant que service MCP. Voir fournisseurs OAuth gérés.