Getting 401 using Unleash and GitLab Feature Flags

Hi. I was following the gitlab documentation for feature flags and setting up Unleash to do the job as the docs recommended. But I’m not sure why, I’m getting a 401 ({“message”:“401 Unauthorized”}).

I’m using Angular, and I setted up Unleash as it told me in the docs.

Aditionally, I’ve checked ruby and golang examples and everything seems fine.

Has anyone come up with this problem?

Don’t call GitLab directly from your frontend application, be sure to use the Unleash proxy.