Skip to content

"auth.oauth.provider"."flow" field is undefined. #835

@schroedt

Description

@schroedt

I installed bitnami/odoo via helm (28.2.10 > Odoo version 18.0-20250805).

Module

oauth_oidc

Describe the bug

Odoo Client Error

UncaughtPromiseError > OwlError
Uncaught Promise > The following error occurred in onWillStart: ""auth.oauth.provider"."flow" field is undefined."

Occured on odoo.getraenke-getraenke.de on 2025-08-29 10:49:00 GMT

OwlError: The following error occurred in onWillStart: ""auth.oauth.provider"."flow" field is undefined."

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Install bitanmi/oddo
  2. Added python-jose via container-conenction:
cd /opt/bitnami/odoo/venv
source bin/activate
pip install python-jose
  1. Moved the package server-auth/auth_oidc to /bitnami/odoo/addons/auth_oidc:
root@odoo-859689bff8-x89c7:/bitnami/odoo/addons/auth_oidc# ls -al
total 68
drw-r--r-- 12 root root 4096 Aug 29 09:15 .
drwxrwxr-x  3 odoo root 4096 Aug 29 09:07 ..
-rw-r--r--  1 root root 7650 Aug 29 09:07 README.rst
-rw-r--r--  1 root root  165 Aug 29 09:07 __init__.py
-rw-r--r--  1 root root  763 Aug 29 09:15 __manifest__.py
drwxr-xr-x  2 root root 4096 Aug 29 09:14 __pycache__
drw-r--r--  3 root root 4096 Aug 29 09:07 controllers
drw-r--r--  2 root root 4096 Aug 29 09:07 data
drw-r--r--  2 root root 4096 Aug 29 09:07 demo
drw-r--r--  2 root root 4096 Aug 29 09:07 i18n
drw-r--r--  3 root root 4096 Aug 29 09:07 models
-rw-r--r--  1 root root   69 Aug 29 09:07 pyproject.toml
drw-r--r--  2 root root 4096 Aug 29 09:07 readme
drw-r--r--  3 root root 4096 Aug 29 09:07 static
drw-r--r--  3 root root 4096 Aug 29 09:07 tests
drw-r--r--  2 root root 4096 Aug 29 09:07 views
  1. Acitvate auth_oauth package in APPS
  2. Install package via APPS
  3. REBOOT pod and re-install python-jose (see (2)) before boot
  4. Providers is activated:
Image

When any element is clicked OR a new one is being added, an error occurs:

Image

Expected behavior
The OIDC configuration screen appears.

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions