Wirecloud / docker-wirecloud

🐳 Docker Official Image packaging for WireCloud https://conwet.fi.upm.es/wirecloud
Other
8 stars 15 forks source link

[WIP] Allow to configure LOGOUT_REDIRECT_URL settings through environment variables #44

Closed fisuda closed 4 years ago

fisuda commented 4 years ago

Hi @aarranz,

This PR allows to configure LOGOUT_REDIRECT_URL which is one of Django settings through environment variables. In case of Keyrock, this is set as the follwoing.

LOGOUT_REDIRECT_URL=https://keyrock/auth/external_logout?_method=DELETE&client_id=<wirecloud client id>

As this setting has a client id, I made it as a item in the list of SENSITIVE_SETTINGS. I often use this setting. It would be great if you could review this PR.

Thank you.