Créer une API OAuth2 sur Hosted Exchange
... / Créer une API OAuth2 sur ...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Créer une API OAuth2 sur Hosted Exchange

by
Olivier Friedman
Created on 2025-09-03 10:35:31 in Interface de programmation (API)

Bonjour,

Je souhaite créer un Credential, dans n8n, pour connecter mes workflows à ma boite aux lettres, hébergée en "Hosted Exchange".

Il me faut les infos suivantes : 

  • Authorization URL
  • Access Token URL
  • Client ID
  • Client Secret

 

Où trouver ces infos ? Comment faire ?


6 Replies ( Latest reply on 2025-09-04 15:28:52 by
fritz2cat 🇧🇪 🇪🇺
)

Bonjour,

Pourquoi tu n'utilises pas le noeud IMAP Email ? 

Bonjour,

IMAP est activé d'office sur le port 993 (sécurisé SSL)

A ma connaissance IMAP ne se base que sur des passwords, et pas des tokens.

 

Les paramètres IMAP que vous avez retranscrits sont corrects. Il faudrait au moins un message d'erreur. Vous confirmez bien que votre ERP utilise IMAP et non POP3 ?

Vos problèmes peuvent aussi provenir de SSL. Assurez-vous d'avoir les certificats Sectigo dans votre Trusted root certificates.
(les serveurs imap.mail.ovh.net et  ssl0.ovh.net sont distincts l'un de l'autre et présentent chacun un certificat différent)

 

Je ne crois pas que imap.mail.ovh.net ou ssl0.ovh.net soit correcte pour les hosted Exchange.
Regarde attentivement dans le manger pour trouver la bonne URL.

https://help.ovhcloud.com/csm/fr-exchange-thunderbird-windows-configuration?id=kb_article_view&sysparm_article=KB0053411