Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2488 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 25
1013
4
thg 8 24
38573
1
thg 5 24
1421
5
thg 12 20
10303
0
thg 7 21
3173