elan-ev / tobira

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

Find a way to make Tobira work with Opencast's static file authorization #277

Open LukasKalbertodt opened 2 years ago

LukasKalbertodt commented 2 years ago

By design, Tobira uses URLs to Opencast assets and media directly. This means that in the frontend, there might be an <img> or <video> tag loading from an Opencast URL. Since users only authenticate against the Tobira domain, usually unaware of the Opencast in the background, all requests for assets/media are unauthenticated. Since Opencast 10, static file authorization is enabled by default. This means that Tobira users cannot access assets/media that is not accessible by ROLE_ANONYMOUS.

This is obviously not great. Possible solutions:

LukasKalbertodt commented 1 year ago

More thoughts:

LukasKalbertodt commented 11 months ago

See this discussion: https://github.com/opencast/opencast/discussions/5334