Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
systemparametersweb.base.urlreport.urlv15
3 Réponses
10147 Vues
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
Ignorer
Avatar
Bhavin Patel
Meilleure réponse

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
Ignorer
Boujraf Youssef
Auteur

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
Meilleure réponse

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
Ignorer
Avatar
Mohamed Lotfy
Meilleure réponse

Dear youssef

Please explain your steps to resolve this issue

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How many base parameters in odoo's system param? Résolu
systemparameters report.url
Avatar
Avatar
Avatar
2
sept. 25
889
show menu item based on system parameter odoo 15 Résolu
menuitem systemparameters v15
Avatar
Avatar
2
mars 22
5782
Odoo pdf report format issue(Solved) Résolu
pdf print Odoo13.0 web.base.url report.url
Avatar
Avatar
Avatar
3
oct. 25
26287
Error message: You are not allowed to access 'System Parameter' (ir.config_parameter) records
userpermissions accessrights systemparameters usergroups v15
Avatar
Avatar
2
mars 23
6116
Send email notification to sales person when customer responds or reacts to sale.order
email notifications enterprise systemparameters v15
Avatar
0
févr. 23
3671
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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