Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2185 Zobrazení

How to manage session in odoo from angular to odoo.We are facing issue cors error when connecting odoo with angular.

Here is my code

http.route('/api/auth/login', methods=['OPTIONS','POST'], type='json', auth='none', csrf=False,cors='*')

def token(self, **post):

    print(self)

Added sample code here api working when adding cors * in backend.But session is empty.How to handle session here.Can anyone help us to resolve this?


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvn 21
1582
2
pro 23
24342
0
led 19
5816
0
kvě 18
4355
0
led 17
4714