vmware-archive / gangway

An application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster.
Apache License 2.0
410 stars 112 forks source link

Allow Gangway to be able to support CNAMEs #183

Open tall3n opened 3 years ago

tall3n commented 3 years ago

This change allows gangway to support use of CNAMEs so clusters can be switched that hosts gangway.

i.e.

Cluster 1 = gangway.blah1.example.com Cluster2 = gangway.blah2.example.com

CNAME = gangway.blah.example.com

Based on a config change it allows it to intercept the incoming host and forward it properly to the authorizer so the authorizer can send back to the proper url to prevent session mixups.