The previous release always forwarded the `?host=` header on to the authentication API. This release no longer does that by default, but instead allows you to configure one or more headers that should be passed on in a similar way - issue 10.
To get back the same behavior as release 0.5, use this configuration:
json
{
"plugins": {
"datasette-auth-existing-cookies": {
"api_url": "http://www.example.com/user-from-cookies",
"auth_redirect_url": "http://www.example.com/login",
"original_cookies": ["sessionid"],
"headers_to_forward": ["host"]
}
}
}