Update: couldn’t come up with a solution that is not a workaround and/or needs a lot of extra work in order to make a Prefect Server publicly accessible. Must say I am a bit disappointed since it really feels that as a developer you are being pushed to use the Cloud offering. While I would love to do so, my client doesn’t allow for it so I end up being either stuck or having to implement a lot of things on top of Server to have it work (we’re talking adding authentication services etc.). One simple thing that would alleviate the pain of setting authentication up would be to allow to customize the way the UI calls the Apollo endpoint, i.e. adding a header, basic auth, or at least allowing for query params so that we can pass an API key (it’s the last thing I tried, but it just “breaks” the calls to the endpoint). EDIT: and even if finally managing to pass in an api key or similar to access apollo, there is no way to do this for registering the flows since it’s only possible to set a
host
in
config.toml
.
Knowing this I am not sure I would choose Prefect as an OS solution for my next production projects.