Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Login on Odoo 16 using MS Azure with MFA

Naroči se

Get notified when there's activity on this post

This question has been flagged
loginoauth2Azureodoo16
1920 Prikazi
Avatar
Tom Nugter

Looking for help using MS Azure as out identity provider with MFA logging into Odoo.

 We’re using odoo 16 and we looking for a safe, foolproof way for our internal users to login. Minimal requirement is to have some form us MFA (multi factor authentication) or 2FA (Two Factor authentication).

 

Since I’m learning Scrum, let’s write that out in user stories:

 -As an internal user I want to be able to log in without as little hassle as possible, so I can quickly begin with my work

 -As a system administrator  I want my users to log in with something more secure that just a password, so I can ensure the safety of the system

 -As a system administrator  I do not want my users to be able to by pass security measures, so I can ensure the safety of the system.

 -As a system administrator I want my users to be able to set up their own login and/or safely measures, so I will not be the bottle neck for their onboarding

 With these user stories, we begun to check what would be possible. Odoo 16 has a 2FA authentication system build in, but this turns out to be insufficient. We realized this functionally has two major flaws for our use case:

-Users would be challenged for a 2FA at every login attempt. We quickly realized that this would be highly annoying for people. Most likely it would be counterproductive, because using this functionality would encourage people to NOT log out when leaving.

-Users would be able to TURN OFF 2FA themselves in their profile and it would be a pain for our administrators to keep track of users that turned it off.

 Realizing this we started searching for an alternative. Since we used the Microsoft Suite already, using MS Workspace (now MS Entra) as our Identity Provider would be a great option. Users would be able to log in with their MS password. We would also be able to use Conditional Access [1] to set policies so that MFA challenges would be limited to a minimum.

Odoo already provided decent documentation for setting up a connection between Odoo and MS Azure using OAuth. [2] The documentation seems to be solid, and we where able to set up a system where users where able to log on in Odoo using their MS credentials.

 Next step would be to create an new Conditional Access Policy in MS Azure. Our system administrator created one, tested if it worked an a MS default app and then applied the policy to the Odoo App in MS Azure.

 Unfortunately, somehow, the policy was not respected. Even though we made the policy really tight, users where not prompted to MFA. When testing the same policy on a MS default app, the users would be prompted, so we suspect a setting on the Odoo App in MS Azure.

 We suspect that issue lies in this setting:

 


IN the setup described by Odoo, the setting ’access tokens (used for implicit flow) is mandatory. I suspect that this setting forced an implicit flow, which means that our MFA policy is ignored. Unfortually, if we turn this off, out setup doesn't work anymore.

Am I correct in my assumption that this setting is preventing out users from being promoted with MFA? And if so, would somebody be able to help me out with setting up a system where we can login with OAuth in Odoo using MS Azure with Conditinal Access?

 

Help is very much appreciated


[1] https://www.odoo.com/documentation/16.0/applications/general/users/azure.html

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Azure oauth issue
oauth2 Azure
Avatar
Avatar
Avatar
2
avg. 25
4360
Why can't Odoo correctly redirect to the initial access path after successful authentication by the OAuth provider, ?
login oauth2
Avatar
0
maj 24
2819
How to Facebook login in Odoo
login facebook oauth2
Avatar
Avatar
Avatar
2
maj 25
18735
Facebook Login
login facebook oauth2
Avatar
Avatar
Avatar
4
jul. 17
9567
Odoo OAuth Error 3 Solved
oauth login openid oauth2
Avatar
Avatar
2
jan. 24
9665
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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