Volvo: fix OAuth authorization callback route compatibility (#24451)
This commit is contained in:
parent
6cadfd9730
commit
655de0477a
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue