Flagsmith / Flagsmith/flagsmith

Allow self hosted customers to specify Datadog widget host

Open
#2,278 0 comments 2 reactions 1 assignee Claimed by @dabeeeenster View on GitHub
front-end
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

**Is your feature request related to a problem? Please describe.**

Currently, our Datadog UI extensions assume that the user's environment and project are hosted on app.flagsmith.com. This is not usable for self hosted options.

image

**Describe the solution you'd like**

Allow the Datadog widget host to be configurable via an option

image

- When a widget loads, prior to checking authentication, check the domain vs the configured option, if it doesn't match then redirect.
- When the correct host is identified, keep the same setup process as now.
![image](http://g.recordit.co/fw5RMaL219.gif)

**Describe alternatives you've considered**

Sharing UI extension config with self hosted users.

**Additional context**

Initial message

```
Hello, is it possible to integrate Flagsmith with Datadog when using self hosted? When trying to connect with the Flagsmith widgets in a DD dashboard, I am redirected to https://app.flagsmith.com/ and don't see an option to change to the url I host flagsmith at.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.