outposts/proxy: always redirect to session-end interface on sign_out
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -25,6 +25,8 @@ type providerBundle struct { | ||||
| 	proxy *OAuthProxy | ||||
| 	Host  string | ||||
|  | ||||
| 	endSessionUrl string | ||||
|  | ||||
| 	cert *tls.Certificate | ||||
|  | ||||
| 	log *log.Entry | ||||
| @ -155,6 +157,7 @@ func (pb *providerBundle) Build(provider api.ProxyOutpostConfig) { | ||||
| 		oauthproxy.BasicAuthPasswordAttribute = *provider.BasicAuthPasswordAttribute | ||||
| 	} | ||||
|  | ||||
| 	oauthproxy.endSessionEndpoint = pb.endSessionUrl | ||||
| 	oauthproxy.ExternalHost = pb.Host | ||||
|  | ||||
| 	pb.proxy = oauthproxy | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer