Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
  • Proyectos
  • 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
2974 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.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Odoo15 incoming server will not collect Office365 catchall
email oauth imap
Avatar
0
dic 22
2809
Keycloak authentication
oauth
Avatar
0
dic 22
9035
How can I offer Google OAuth login to new users?
oauth
Avatar
Avatar
Avatar
2
mar 21
14137
oAuth Providers Odoo
oauth
Avatar
Avatar
1
may 15
6406
How to install python-imaplib ?
imap
Avatar
1
mar 15
12921
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 estar 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