Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Guest House
    • Distributeur de boissons
    • Hotel
    Real Estate
    • Real Estate Agency
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consulting
    • Accounting Firm
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Solar Energy Systems
    • Cordonnier
    • Services de nettoyage
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Yahoo OAuth Authorization

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
oauthimapyahoo
1 Répondre
2897 Vues
Avatar
Cemhan SENTURK

Dear all,

Odoo supports OAuth authorization for Gmail and Outlook email accounts.

But we use Yahoo as our email server.

The link below explains that Yahoo has now removed password support.

https://help.yahoo.com/kb/SLN36636.html

How can we add OAuth authorization within Yahoo?

Thanks

0
Avatar
Ignorer
Avatar
Gracious Joseph
Meilleure réponse

Integrating Yahoo Mail with Odoo using OAuth is feasible, even though Yahoo has removed basic password-based authentication. You can set up OAuth for Yahoo by following these steps:

1. Understand Yahoo’s OAuth Requirements

Yahoo supports OAuth 2.0 for third-party application access. To use OAuth with Yahoo in Odoo, you must:

  • Register your application with Yahoo Developer Console.
  • Obtain the client_id and client_secret for OAuth.
  • Configure Odoo's email settings to use Yahoo's IMAP/SMTP servers with OAuth tokens.

2. Register Your Application in Yahoo Developer Console

  1. Create a Yahoo Developer Account:
    • Go to the Yahoo Developer Network.
    • Sign in with your Yahoo credentials.
  2. Create a New Application:
    • Click on My Apps and select Create an App.
    • Provide the following:
      • Application Name: A name for your app (e.g., "Odoo Email Integration").
      • Redirect URI: Use https://localhost for testing or provide Odoo's redirect URL in production, such as https://your-odoo-domain.com/auth_oauth/signin.
      • Permissions: Select Mail, Contacts, and Calendar for access.
  3. Save and Obtain Credentials:
    • After saving, Yahoo will generate a Client ID and Client Secret. Note these for later configuration in Odoo.

3. Configure OAuth in Odoo

  1. Install OAuth2 in Odoo:
    • Ensure the auth_oauth module is installed in Odoo.
    • Go to Settings > Integrations > OAuth Providers.
  2. Add Yahoo as an OAuth Provider:
    • Click Create and configure:
      • Provider Name: Yahoo
      • Client ID: Use the Client ID from Yahoo Developer Console.
      • Client Secret: Use the Client Secret.
      • Redirect URI: Ensure it matches the URI registered in Yahoo.
      • Scope: openid mail.
      • OAuth Endpoint URLs:
        • Authorization URL: https://api.login.yahoo.com/oauth2/request_auth
        • Token URL: https://api.login.yahoo.com/oauth2/get_token
  3. Test the Configuration:
    • Verify that the OAuth flow is working by testing the connection.

4. Configure Yahoo IMAP/SMTP in Odoo

  1. Yahoo IMAP/SMTP Settings with OAuth:
    • IMAP Server: imap.mail.yahoo.com
    • IMAP Port: 993
    • SMTP Server: smtp.mail.yahoo.com
    • SMTP Port: 465
  2. Use OAuth Tokens in Odoo:
    • Go to Settings > Email > Outgoing Mail Servers (for SMTP) or Incoming Mail Servers (for IMAP).
    • Add Yahoo as a mail server and use the following:
      • Username: Your Yahoo email address.
      • Authentication Method: OAuth2.
      • Access Token: Generated during the OAuth flow.

5. Troubleshoot and Test

  • Ensure Yahoo’s OAuth credentials are correctly set up in both Yahoo Developer Console and Odoo.
  • Test the email flow by sending a test email from Odoo.
  • Verify IMAP integration by fetching emails.

Key Notes

  • Yahoo’s Security Requirements: Yahoo enforces secure access, so ensure your application uses HTTPS for OAuth callbacks in production.
  • Access Token Refresh: Odoo's OAuth implementation should handle token refresh automatically. Verify this during testing.
  • SMTP Authentication Error: If you encounter an error, ensure the app has the correct permissions and OAuth is configured properly.

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Odoo15 incoming server will not collect Office365 catchall
email oauth imap
Avatar
0
déc. 22
2776
Keycloak authentication
oauth
Avatar
0
déc. 22
8936
How can I offer Google OAuth login to new users?
oauth
Avatar
Avatar
Avatar
2
mars 21
14062
oAuth Providers Odoo
oauth
Avatar
Avatar
1
mai 15
6357
How to install python-imaplib ?
imap
Avatar
1
mars 15
12895
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now