Porsche: switch identity provider (#8546)
This commit is contained in:
parent
6f90409a3c
commit
2ffb050fb4
7 changed files with 133 additions and 155 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue