Feature Flags in React application

Hi there,

I’m trying to configure a React application to leverage Gitlab’s feature flags integration and no matter what I do but I always get a 401 response from the server.

I’m configuring my client with the configuration data given in the “React proxy SDK” modal (i.e. API URL and Instance ID) and installed the React proxy SDK React proxy SDK | Unleash.

I don’t really know what I have to put in appName. The configuration modal says that “Set the Unleash client application name to the name of the environment your application runs in…”. I have tried multiple possible values with no luck: dev, development, prod, production, etc…

At this point I doubt if its even possible to configure this in a Javascript/React application since all Unleash frontend clients uses Unleash Proxy and I doubt if the given url is a proxy url or not.

Any help would be much appreciated. Thanks!