diff options
author | Rick Elrod <rick@elrod.me> | 2024-10-15 22:50:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-15 22:50:11 +0200 |
commit | 6dea7bfe17609c47a2c244ddd4f042cdf0836157 (patch) | |
tree | a34cf2e95e0b4219d3b48ed6a4a76a0841d40799 /requirements | |
parent | Add splitted up inventory source plugins (#15584) (diff) | |
download | awx-6dea7bfe17609c47a2c244ddd4f042cdf0836157.tar.xz awx-6dea7bfe17609c47a2c244ddd4f042cdf0836157.zip |
Prettier DRF pages when using trusted proxy (#15579)
This is a rather hacky, but fixes the DRF pages when going through a
trusted proxy.
Notably: This is meant to primarily fix the DRF pages on downstream
builds while leaving the upstream to function as-is.
When using a trusted proxy, the DRF login and logout endpoints now
redirect to the Platform login page (which respects ?next) and logout
endpoint respectively.
The CSS and JS is inlined because the trusted proxy might only proxy
to /api/ and not /static/ which is a harder problem to solve.
Signed-off-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'requirements')
0 files changed, 0 insertions, 0 deletions