-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Thank you for building this library. I had a special use case and this fit it perfectly! The documentation and example have been super helpful in getting this implemented in a day.
Having said that it took an other day to get it working in our production env. I enabled toolbar for preview and prod builds. Browser extension is installed and I am logged in to my Vercel account. I only have one Vercel account so there was no chance I would be signed in to wrong account.
After redeploy, I started seeing the toolbar. However, flags explorer kept showing blank slate. Digging deeper I noticed that Flags Endpoint was getting 401 errors in production deployment.
When making the same call from a curl request I was getting 200.
curl --location 'https://example.com/.well-known/vercel/flags' \
--header 'Authorization: Bearer token_extracted_from_other_request'
Today I noticed a setting in the Toolbar which seemed odd to me since I had already enabled toolbar.
After tapping it, I got a list of domains for my deployment. Once I selected a domain I can now see my feature flags.
Is this expected behavior?