Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

ODOO 15.0 : The redirect URI 'http://localhost:8069/microsoft_outlook/confirm' specified in the request does not match the redirect URIs configured for the application

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
systemparametersweb.base.urlreport.urlv15
3 Besvarelser
9998 Visninger
Avatar
Boujraf Youssef

Dear All,

I am using the "fetchmail outlook" to authenticate to o365 version 15.0.1.0.1

My systems settings :

- web.base.url = my url of odoo

- web.base.url.freeze  = True then normally my url didn't change.


Finally, when I try to export in pdf, it takes too long and I have found in the forum to use :

- report.url  = http://localhost:8069 then the pdf is exported asap.


But now, I am figuring out an issue when odoo fetch the outlook imap, the "web\.base\.url"\ is\ forced\ to\ "http://localhost"\ even\ the\ "web\.base\.url\.freeze\ is\ forced\ to\ True"\.

The\ error\ message\ is\ :

INFO:odoo\.addons\.fetchmail\.models\.fetchmail:General\ failure\ when\ trying\ to\ fetch\ mail\ from\ imap\ server\ accounting\ o365\ outlook\ incoming\.\#012Traceback\ \(most\ recent\ call\ last\):\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/fetchmail/models/fetchmail\.py",\ line\ 184,\ in\ fetch_mail\#012\ \ \ \ imap_server\ =\ server\.connect\(\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/fetchmail/models/fetchmail\.py",\ line\ 115,\ in\ connect\#012\ \ \ \ self\._imap_login\(connection\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/fetchmail_outlook/models/fetchmail_server\.py",\ line\ 54,\ in\ _imap_login\#012\ \ \ \ auth_string\ =\ self\._generate_outlook_oauth2_string\(self\.user\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/microsoft_outlook/models/microsoft_outlook_mixin\.py",\ line\ 167,\ in\ _generate_outlook_oauth2_string\#012\ \ \ \ \)\ =\ self\._fetch_outlook_access_token\(self\.microsoft_outlook_refresh_token\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/microsoft_outlook/models/microsoft_outlook_mixin\.py",\ line\ 108,\ in\ _fetch_outlook_access_token\#012\ \ \ \ response\ =\ self\._fetch_outlook_token\('refresh_token',\ refresh_token=refresh_token\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/microsoft_outlook/models/microsoft_outlook_mixin\.py",\ line\ 146,\ in\ _fetch_outlook_token\#012\ \ \ \ raise\ UserError\(_\('An\ error\ occurred\ when\ fetching\ the\ access\ token\.\ %s'\)\ %\ error_description\)\#012odoo\.exceptions\.UserError:\ An\ error\ occurred\ when\ fetching\ the\ access\ token\.\ AADSTS50011:\ The\ redirect\ URI\ 'http://localhost:8069/microsoft_outlook/confirm'\ specified\ in\ the\ request\ does\ not\ match\ the\ redirect\ URIs\ configured\ for\ the\ application\ '053c8b68\-xxxxxxxxxx0fd7'\.\ Make\ sure\ the\ redirect\ URI\ sent\ in\ the\ request\ matches\ one\ added\ to\ your\ application\ in\ the\ Azure\ portal\.\ Navigate\ to\ https://aka\.ms/redirectUriMismatchhttps://aka.ms/redirectUriMismatchErrorError to learn more about how to fix this.#015#012Trace ID: 5289780b-ce64-4609-acb9-0fe068eb4100#015#012Correlation ID: ac9001e8-d320-418b-9071-1538cfdf7e5f#015#012Timestamp: 2023-04-17 18:15:57Z

Thanks if anybody could highlight me to the correct path.
0
Avatar
Kassér
Avatar
Bhavin Patel
Bedste svar

This error message is typically related to an issue with the Microsoft Outlook integration in Odoo. It means that the redirect URI specified in the Outlook integration settings does not match the redirect URIs configured in the Microsoft Azure Active Directory application.

Here are some steps to resolve the issue:

  1. Log in to the Microsoft Azure Portal and navigate to the Azure Active Directory application you created for the Odoo Outlook integration.

  2. Under the "Authentication" tab, verify that the redirect URI specified in the application settings matches the redirect URI specified in the Odoo Outlook integration settings. In this case, the redirect URI should be 'http://localhost:8069/microsoft_outlook/confirm'.

  3. If the redirect URIs do not match, update the redirect URI in the Azure Active Directory application settings to match the one specified in the Odoo Outlook integration settings.

  4. Save the changes and try to connect to the Outlook integration again in Odoo.


2
Avatar
Kassér
Boujraf Youssef
Forfatter

Thanks dear for your highlight.

We have forced the "report.url.freeze" to "True" and "reset confirmation " and finally forced "Edit Setting" than we got again the popup to enable the OAUTH2.0 and the callback worked again.

Best Regards,

Avatar
Rani Tathod
Bedste svar

Understanding Odoo's system parameters can help prevent issues like incorrect PDF reporting.



  Check the 'report.url' parameter in System Parameters under Settings to ensure it's correctly set.

  Review other common parameters like 'web.base.url' and 'database.uuid' for consistency.

  Consult Odoo's official documentation for a comprehensive list of system parameters and their purposes.


If you'd like to explore this further for your use case, you're welcome to connect with us at Pragmatic Techsoft.

0
Avatar
Kassér
Avatar
Mohamed Lotfy
Bedste svar

Dear youssef

Please explain your steps to resolve this issue

0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
How many base parameters in odoo's system param? Løst
systemparameters report.url
Avatar
Avatar
Avatar
2
sep. 25
800
show menu item based on system parameter odoo 15 Løst
menuitem systemparameters v15
Avatar
Avatar
2
mar. 22
5662
Odoo pdf report format issue(Solved) Løst
pdf print Odoo13.0 web.base.url report.url
Avatar
Avatar
Avatar
3
okt. 25
26004
Error message: You are not allowed to access 'System Parameter' (ir.config_parameter) records
userpermissions accessrights systemparameters usergroups v15
Avatar
Avatar
2
mar. 23
5977
Send email notification to sales person when customer responds or reacts to sale.order
email notifications enterprise systemparameters v15
Avatar
0
feb. 23
3562
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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