تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2475 أدوات العرض

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
أبريل 25
1002
4
أغسطس 24
38547
1
مايو 24
1412
5
ديسمبر 20
10298
0
يوليو 21
3165