Hello,
I am trying to configure Authentik to use oauth2 with the native Odoo19 Oauth Provider. (module add-on is not available for odoo19). It is not possible to set a "Secret_key" and the ".well-known/openid-configuration" URL for easy configuration setup.
Do you have any guidance to configure it properly ?
It is impossible to configure; Odoo returns the following error
odoo-1 | 2026-01-17 22:31:27,913 13 ERROR *******-crm odoo.addons.auth_oauth.controllers.main: Exception during request handling odoo-1 | Traceback (most recent call last): odoo-1 | File "/usr/lib/python3/dist-packages/odoo/addons/auth_oauth/controllers/main.py", line 139, in signin odoo-1 | _, login, key = request.env['res.users'].with_user(SUPERUSER_ID).auth_oauth(provider, kw) odoo-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ odoo-1 | File "/usr/lib/python3/dist-packages/odoo/addons/auth_oauth/models/res_users.py", line 143, in auth_oauth odoo-1 | validation = self._auth_oauth_validate(provider, access_token) odoo-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ odoo-1 | File "/usr/lib/python3/dist-packages/odoo/addons/auth_oauth/models/res_users.py", line 68, in _auth_oauth_validate odoo-1 | raise Exception(validation['error']) odoo-1 | Exception: invalid_request
GET/auth_oauth/signin?error=unsupported_response_type&error_description=The authorization server does not support obtaining an authorization code using this method&state={"d": "bddcrm", "p": 4, "r": "https://websiteodoo.local/web"}