diff --git a/cmd/setup.go b/cmd/setup.go index 35ed78c76..c15ec2497 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -1139,6 +1139,9 @@ func configureAuth(router *mux.Router, paramC chan<- util.Param) { handlers.AllowedHeaders([]string{"Content-Type"}), )) + // backwards-compatible revert of https://github.com/evcc-io/evcc/pull/21266 + router.PathPrefix("/oauth").Handler(auth) + // wire the handler providerauth.Setup(auth, paramC) }