HI, I am consuming API services from my XBlock in devstack. All works, however when I try to consume the “enrollments” service it throws a ““GET /api/enrollment/v1/enrollments/ HTTP/1.1” 401 69” Error ( the user is not logged in http://localhost:18000/api/enrollment/v1/enrollments/).
How can I log in to use the service from my XBlock code?
Thanks in advance