JWT development roadmap & overview #6977
Replies: 4 comments
-
Meeting: Paella + JWT?We just had a meeting about what Paella would need to do in order for Opencast to fully realize the JWT plan. Short term, we agreed that starting with long-lived JWTs is already a lot better than no static file auth. In that case, we side-step most of the really tricky problems. To nicely support that, Paella should support a way to gracefully deal with 403 errors when requesting static files. Opencast's Long term we want to keep JWTs short lived, which is problematic because many HTTP requests don't happen immediately on page loads. Most importantly, videos are not fully downloaded immediately by the browser (in both cases: HLS and progressive download). This means for each HTTP request, we need to generate a new JWT "just in time" and attach it. For things like thumbnails and subtitles, that's easy: they are either downloaded immediately or Paella knows/controls when the request happens. For HLS videos, I would expect We also talked a bit about the "Player in iframe" solution for LMS and how that would work with short-lived JWTs. We didn't conclude anything but we see these three options:
|
Beta Was this translation helpful? Give feedback.
-
|
Some quick updates:
Near term plan regarding octoka, jwtify and Tobira:
|
Beta Was this translation helpful? Give feedback.
-
|
Quick update from the LMS side:
Next steps:
|
Beta Was this translation helpful? Give feedback.
-
|
I just released octoka v1.0, meaning it is now ready to be used in production. I also just opened this PR to support JWT auth in Opencasts |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is for tracking the progress on all things JWT in and around Opencast.
OC committers: feel free to edit this post to keep it up to date.
Please keep discussions here about the general roadmap and plan. For specific technical topics, please open separate discussions.
Use cases
We distinguish two main use cases, both involving external apps (LMS, Tobira, ...):
Tasks
EdDSAJWT algorithm #6093 -> Replace java-jwt with nimbus-jose-jwt #7052/playin iframe -> Add JWT support to/paella7/ui(with token refresh via iframe host) #7249Consider support JWT via Media Source Extensions: Investigate Media Source Extensions (MSE) for JWT use in Paella #7050-> not viableiframe: test how exactly to make it work with Opencast. JWT can be passed to iframe, but then what? Create cookie-session in iframe? Does that work? Or can the iframe request new JWTs from host page?-> we have a plan; will implement and test it soon.NPM package: would then require built-in support by Paella or service-worker solution.Links and resources
Beta Was this translation helpful? Give feedback.
All reactions