Go to file
Mira Limbeck 4aff0d7c95 fix Open ID with Azure as provider
Azure doesn't accept `Transfer-Encoding: chunked` on their token endpoint,
but with the switch to ureq we always send requests with this set.

Fix by switching to `Content-Length` in the header instead. ureq only
sets `Transfer-Encoding: chunked` when the body length is not known
beforehand, which is the case when using `send`. See
https://docs.rs/ureq/2.4.0/ureq/index.html#content-length-and-transfer-encoding

See https://forum.proxmox.com/threads/openid-401-with-azure-ad.105892/
for the issue.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2022-04-01 15:53:44 +02:00
.cargo initial import 2021-06-18 10:23:57 +02:00
debian bump version to 0.9.4-1 2022-03-22 11:37:59 +01:00
src fix Open ID with Azure as provider 2022-04-01 15:53:44 +02:00
Cargo.toml bump version to 0.9.4-1 2022-03-22 11:37:59 +01:00
Makefile add packaging 2021-06-18 16:16:40 +02:00