elan-ev / tobira

Video portal for Opencast
https://elan-ev.github.io/tobira/
Apache License 2.0
22 stars 17 forks source link

Switch to login callback for local development & deployment server #1123

Closed LukasKalbertodt closed 7 months ago

LukasKalbertodt commented 7 months ago

This PR changes our local dev setup and the test deployment to using login-callbacks instead of the old "login-proxy" way of handling auth. The main motivation behind that is that it makes for an easier setup in #1093, but this also makes some things simpler (e.g. nginx config) and our docs already recommend callbacks over auth headers.

To switch over, this PR adds support for unix domain sockets (UDS) for login/auth handlers. It also updates authkit to work with the new auth setups. Finally, there are also improvements and fixes for a few other minor things. See commits for more detail.

Once this is merged, I would add hints about authkit to the docs again and then release authkit as 0.2.0.