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

OAuth2 login with Azure AD

Suscribirse

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

Se marcó esta pregunta
oauth2azure
3 Respuestas
13225 Vistas
Avatar
Qiqo

Trying to enable OAuth2 login with our Azure AD, currently stuck with this error: AADSTS50001: Resource identifier is not provided.

It seems that there is a difference in AAD's implementation of OAuth2 as they have "Resources" instead of scope. Has anyone been successful in integrating AAD Outh2 with odoo 10? 

0
Avatar
Descartar
Avatar
Chris Mann
Mejor respuesta

Appreciate it's an old thread but still Odoo (as of V16) does not officially support Azure AD for OAUTH.
However this very simple open-source module does and works with most versions.
I've used it for many years and been involved in the testing / documentation of it.
odoonz-addons/auth_oauth_microsoft_graph at 15.0 · odoonz/odoonz-addons (github.com)

0
Avatar
Descartar
Avatar
IAS Software
Mejor respuesta

Hello

I found this information https://www.odoo.com/documentation/master/applications/general/auth/azure.html, this error is because Odoo does not support connection with oauth microsoft azure.

0
Avatar
Descartar
Avatar
Qiqo
Autor Mejor respuesta

i've managed to reconfigure and allow to authenticate using Microsoft Graph with the sign in and read profile but now getting:


2017-09-07 03:18:47,468 12070 INFO theasiaodoo werkzeug: 127.0.0.1 - - [07/Sep/2017 03:18:47] "GET /auth_oauth/signin HTTP/1.1" 200 - 2017-09-07 03:18:48,062 12070 ERROR theasiaodoo odoo.addons.auth_oauth.controllers.main: OAuth2: HTTP Error 401: Unauthorized Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/odoo/addons/auth_oauth/controllers/main.py", line 139, in signin

    credentials = env['res.users'].sudo().auth_oauth(provider, kw)

  File "/usr/lib/python2.7/dist-packages/odoo/addons/auth_oauth/models/res_users.py", line 104, in auth_oauth

    validation = self._auth_oauth_validate(provider, access_token)

  File "/usr/lib/python2.7/dist-packages/odoo/addons/auth_oauth/models/res_users.py", line 42, in _auth_oauth_validate

    validation = self._auth_oauth_rpc(oauth_provider.validation_endpoint, access_token)

  File "/usr/lib/python2.7/dist-packages/odoo/addons/auth_oauth/models/res_users.py", line 34, in _auth_oauth_rpc

    f = urllib2.urlopen(url)

  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen

    return opener.open(url, data, timeout)

  File "/usr/lib/python2.7/urllib2.py", line 435, in open

    response = meth(req, response)

  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response

    'http', request, response, code, msg, hdrs)

  File "/usr/lib/python2.7/urllib2.py", line 473, in error

    return self._call_chain(*args)

  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain

    result = func(*args)

  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default

    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

HTTPError: HTTP Error 401: Unauthorized 2017-09-07 03:18:48,063 12070 INFO theasiaodoo werkzeug: 127.0.0.1 - - [07/Sep/2017 03:18:48] "GET /auth_oauth/signin?access_token=eyJ0eXAiOiJKV1QiLCJub25jZSI6IkFRQUJBQUFBQUFBOWtUa2xoVnk3U0pUR0F6Ui1$2017-09-07 03:18:48,253 12070 INFO theasiaodoo werkzeug: 127.0.0.1 - - [07/Sep/2017 03:18:48] "GET /web/login?oauth_error=2 HTTP/1.1" 200 - 2017-09-07 03:18:48,552 12070 INFO theasiaodoo werkzeug: 127.0.0.1 - - [07/Sep/2017 03:18:48] "POST /website/translations HTTP/1.1" 200 -

-----

settings are

ODOO:

ClientID: AAD App ID

Authentication URL: https://login.microsoftonline.com/[tenant]/oauth2/authorize?resource=https%3A%2F%2Fgraph.microsoft.com&

Validation URL: https://login.microsoftonline.com/b4ee2b10-c018-4d42-abb0-5754023fc6cc/oauth2/token (also tried https://graph.microsoft.com/v1.0/me but no go)


Any help would be appreciated, thanks


0
Avatar
Descartar
HTG Admins

Hi Qiqo,

I'm curious to know if you ever solved this problem. I have been stuck with the same error while attempting to setup OAuth2 and AzureAD.

V/R,

Evan

Jornald

I have the same problem.Did you solve this problem?

¿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
Is OAuth2 supported in the Odoo 18 Community Edition?
oauth2
Avatar
Avatar
Avatar
2
sept 25
3171
Can't find where to put the client secret
oauth2
Avatar
Avatar
2
oct 23
5544
Connecting Okta with Odoo using Oauth
oauth2
Avatar
Avatar
1
jul 23
5487
Enable OAUTH2 with Windows Azure Active Directory (WAAD) as a oauth2 provider
v7.0 oauth2 azure waad
Avatar
0
jul 21
16114
Oauth error with my own oauth provider
oauth2
Avatar
Avatar
1
nov 15
9747
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