Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

OAuth2 login with Azure AD

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
oauth2azure
3 Răspunsuri
13221 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
Chris Mann
Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
IAS Software
Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Qiqo
Autor Cel mai bun răspuns

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
Imagine profil
Abandonează
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?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Is OAuth2 supported in the Odoo 18 Community Edition?
oauth2
Imagine profil
Imagine profil
Imagine profil
2
sept. 25
3167
Can't find where to put the client secret
oauth2
Imagine profil
Imagine profil
2
oct. 23
5537
Connecting Okta with Odoo using Oauth
oauth2
Imagine profil
Imagine profil
1
iul. 23
5476
Enable OAUTH2 with Windows Azure Active Directory (WAAD) as a oauth2 provider
v7.0 oauth2 azure waad
Imagine profil
0
iul. 21
16099
Oauth error with my own oauth provider
oauth2
Imagine profil
Imagine profil
1
nov. 15
9730
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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