Skip to Content
Menu
This question has been flagged
3568 Views

We have configured Odoo 12 with AzureAD. Users are able to authenticate via AzureAD login.

After entering the Login details it showing access denied.

Can anyone help us to resolve this issue.

I have created a same account in DB with password and also without account creation.



Oct 25 06:05:40 odoo odoo12[29783]: Traceback (most recent call last):
Oct 25 06:05:40 odoo odoo12[29783]: File "/opt/odoo12/odoo/addons/auth_oauth/controllers/main.py", line 133, in signin
Oct 25 06:05:40 odoo odoo12[29783]: credentials = env['res.users'].sudo().auth_oauth(provider, kw)
Oct 25 06:05:40 odoo odoo12[29783]: File "/opt/odoo12/odoo/addons/auth_oauth/models/res_users.py", line 96, in auth_oauth
Oct 25 06:05:40 odoo odoo12[29783]: validation = self._auth_oauth_validate(provider, access_token)
Oct 25 06:05:40 odoo odoo12[29783]: File "/opt/odoo12/odoo/addons/auth_oauth/models/res_users.py", line 34, in _auth_oauth_validate
Oct 25 06:05:40 odoo odoo12[29783]: validation = self._auth_oauth_rpc(oauth_provider.validation_endpoint, access_token)
Oct 25 06:05:40 odoo odoo12[29783]: File "/opt/odoo12/odoo/addons/auth_oauth/models/res_users.py", line 28, in _auth_oauth_rpc
Oct 25 06:05:40 odoo odoo12[29783]: return requests.get(endpoint, params={'access_token': access_token}).json()
Oct 25 06:05:40 odoo odoo12[29783]: File "/opt/odoo12/odoo-venv/lib/python3.6/site-packages/requests/models.py", line 897, in json
Oct 25 06:05:40 odoo odoo12[29783]: return complexjson.loads(self.text, **kwargs)
Oct 25 06:05:40 odoo odoo12[29783]: File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
Oct 25 06:05:40 odoo odoo12[29783]: return _default_decoder.decode(s)
Oct 25 06:05:40 odoo odoo12[29783]: File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
Oct 25 06:05:40 odoo odoo12[29783]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Oct 25 06:05:40 odoo odoo12[29783]: File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
Oct 25 06:05:40 odoo odoo12[29783]: raise JSONDecodeError("Expecting value", s, err.value) from None
Oct 25 06:05:40 odoo odoo12[29783]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


Avatar
Discard
Related Posts Replies Views Activity
3
Oct 23
5982
1
Sep 23
1973
1
May 23
1007
2
Apr 23
1379
1
Mar 23
997