remind101 / empire

A PaaS built on top of Amazon EC2 Container Service (ECS)
BSD 2-Clause "Simplified" License
2.69k stars 159 forks source link

Allow empire to redirect oauth callbacks to another host #1157

Closed jherico closed 4 years ago

jherico commented 4 years ago

Our OAuth setup uses the same token for Empire V1 and Empire V2. However, the token is associated with a callback URL that can only target one server, V1 or V2, and it currently points at V1. This new setting will allow the V1 server to redirect the OAuth callbacks to the V2 server so it can handle them.

Includes changes from #1158 so that the build doesn't fail. That PR should be merged first.