Skip to content

require client base_url, rename from authority

Charles Hall requested to merge charles/well-known into main

The previous code used server_name as a fallback but in reality there is no real relationship between server_name and the location clients are supposed to make requests to.

Additionally, the insecure option is gone, because we now allow users to control the entire URL, so they're free to choose the scheme.

Configuration changes

The server_discovery.client.insecure and server_discovery.client.authority options have been removed.

Instead, you can now configure the entire URL via server_discovery.client.base_url, which is now required to be set.

Edited by Charles Hall

Merge request reports