跳至內容
選單
此問題已被標幟
2469 瀏覽次數

I make an request to this endpoint: GET  https://dstny1.odoo.com/web/session/authenticate

Inside the body I post this: 

{    
"params": {        
"db": "dstny1",       
"login": "jelle@dstny.nl",       
"password":"myAPIkey"    
}
}

However when I use this API key as my password, it gives me an  odoo.exceptions.AccessDenied

When I use my actual password, it works fine.

What do I do to be able to use the API key?

Our customers don't want to give out their actual password, so we will need their API keys to authenticate.

Im sure it worked in the past tho...

Help pleasse. 

頭像
捨棄

Jelly, Can you share the basic code so I can help you?

相關帖文 回覆 瀏覽次數 活動
0
4月 25
994
4
8月 24
38538
1
5月 24
1412
5
12月 20
10295
0
7月 21
3162