Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2194 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jun. 21
1587
2
dec. 23
24348
0
jan. 19
5831
0
maj 18
4365
0
jan. 17
4728