Porsche: switch identity provider (#8546)

This commit is contained in:
andig 2023-06-25 13:01:57 +02:00 • committed by GitHub
parent 6f90409a3c
commit 2ffb050fb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 133 additions and 155 deletions

View file

@ -5,6 +5,11 @@ import (
"net/http"
)
// DontFollow is a redirect policy that does not follow redirects
func DontFollow(req *http.Request, via []*http.Request) error {
return http.ErrUseLastResponse
}
type InterceptResult = func() (string, error)
// InterceptRedirect captures a redirect url parameter