Not able to complete order with a customer profile? #648
-
Hi DevTeam! I found a particular problem when developing my site using vendure. I tried to create an order with an admin profile (addItemToOrder with admin bearer token), then I created a plugin to login an customer and assign the activeOrder to this customer, but I'm having the "Not authorized error". Could someone please tell me if this is an error or normal? In case it's normal, can I solve it? Example of my code trying to resolve that:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Pasting the solution from Slack:
|
Beta Was this translation helpful? Give feedback.
Pasting the solution from Slack: