red-mouse-1009
04/12/2023, 12:24 PMflaky-dog-36449
04/12/2023, 12:52 PMclever-afternoon-37781
04/12/2023, 1:54 PMbillions-memory-82613
04/12/2023, 5:44 PMbillions-memory-82613
04/12/2023, 5:45 PMstale-manchester-24534
04/12/2023, 6:52 PMgray-crayon-34592
04/13/2023, 7:41 AMsalmon-honey-25093
04/13/2023, 9:39 AMred-mouse-1009
04/14/2023, 5:51 AMdelightful-vase-86107
04/16/2023, 9:18 AMBearer
$ curl <https://growthbook-api.example.com/feature/sample_feature_name> -H "Authorization: Bearer secret_xxxxxxxxxxxxxxxxxxxxxxxxx"
{
"status": 401,
"message": "jwt malformed"
}
using basicAuth
$ curl <https://growthbook-api.example.com/feature/sample_feature_name> -u secret_xxxxxxxxxxxxxxxxxxxxxxxxx:
{
"status": 401,
"message": "Format is Authorization: Bearer [token]"
}
any ideas?red-mouse-1009
04/17/2023, 6:47 AMswift-rose-65038
04/17/2023, 9:40 AMdamp-branch-45047
04/17/2023, 1:58 PMstale-manchester-24534
04/18/2023, 4:13 PMtall-addition-93394
04/18/2023, 4:45 PMminiature-dream-74175
04/18/2023, 7:59 PMblue-hamburger-60411
04/19/2023, 3:22 AMdocker-compose.yml config
growthbook:
environment:
- MONGODB_URI=<mongodb://root:xxx@mongo:27017/>
- APP_ORIGIN=<https://growthbook.example.com>
- API_HOST=<https://growthbook-api.example.com>
- NODE_ENV=production
- JWT_SECRET=qwertyuiopasdfghjklzxcvbnmertyui
- ENCRYPTION_KEY=qwertyuiosdfghnjmxcvbnmdfghj
GET <https://growthbook-api.example.com/>
Response
{"name":"GrowthBook API","production":true,"api_host":"<http://growthbook-api.example.com:3100>","app_origin":"<https://growthbook.example.com>","config_source":"db","email_enabled":false,"build":{"sha":"2dca1f35ceb8ff9748f380cfb6aa481a45109b2b","date":"2023-03-17T18:06:14Z"}}
GET <https://growthbook-api.example.com/organization>
Response
{"status":401,"message":"No authorization token was found"}
[1] Why is api_host in response shown as "http://growthbook-api.example.com:3100", config has this set as "https://growthbook-api.example.com"
[2] How do I resolve missing token issue, will appreciate any pointers.
Thank you 🙏quick-student-34097
04/19/2023, 7:43 AMsome-umbrella-45927
04/19/2023, 4:58 PMbland-guitar-3250
04/20/2023, 10:35 AMdry-eye-65136
04/20/2023, 9:46 PMstale-yacht-48112
04/21/2023, 3:47 AMgetExperiments
/ getFeatures
doesn't seem to return the tags.
i fully accept this might not be the most beautiful way of achieving what it is i am wanting to do - is there a way i can configure the UI and / or get the getExperiments / getFeature calls to return information such that i can filter out experiments that are running that are not relevant for the current page?tall-nightfall-7980
04/21/2023, 2:22 PMtall-nightfall-7980
04/21/2023, 2:22 PMnutritious-toothbrush-51225
04/22/2023, 7:10 PMquiet-monkey-7986
04/24/2023, 8:35 PMclever-hair-5481
04/25/2023, 4:47 PM"select-from-dropdown"
Targeting conditions > I used the advanced mode and set it to: {“email”: “investortest3@groover.co” }icy-market-57765
04/25/2023, 9:50 PMstale-yacht-48112
04/26/2023, 4:36 AMfull-pager-39100
04/26/2023, 3:11 PMOR
operator in experiment targeting conditions?