Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Yahoo OAuth Authorization

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
oauthimapyahoo
1 Responder
2947 Vistas
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
Descartar
Avatar
Gracious Joseph
Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Odoo15 incoming server will not collect Office365 catchall
email oauth imap
Avatar
0
dic 22
2798
Keycloak authentication
oauth
Avatar
0
dic 22
9000
How can I offer Google OAuth login to new users?
oauth
Avatar
Avatar
Avatar
2
mar 21
14126
oAuth Providers Odoo
oauth
Avatar
Avatar
1
may 15
6387
How to install python-imaplib ?
imap
Avatar
1
mar 15
12917
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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