Giter VIP home page Giter VIP logo

Comments (2)

jstarpl avatar jstarpl commented on June 19, 2024 2

Stable API & Users/Operators

I guess technically, what we would want is OpenID Connect since that would provide us with an "ID Token" JWT containing user profile information. Microsoft produces the "ID token" with a claim of "roles", okta returns a claim of "groups", both seem to be an array of strings. I suppose we could make which claim to use configurable.

I'm not sure if there's a standardized way of providing a list of other installations that the user can access through SSO. I suppose this could be done inside the ID Token as well, as a custom claim. It seems that at least Azure's Active Directory OpenID Connect implementation allows adding custom claims to the ID Token.

Persistent views

I suppose the "Persistent views" could use some sort of a URL search parameter secret. We would then have to ensure that they would have a "read-only" access then, since sniffing that search parameter would be trivial. This would basically allow one to have the Sofie without unauthorized people "peeking at it", but still be able to persist those secrets somewhere so that, for example, the Studio baseline can start renderers of these views out on SDI.

from sofie-core.

Julusian avatar Julusian commented on June 19, 2024

For users, the authentication side of this could be simplified by listening to certain headers from trusted proxies. The loadbalancer (eg nginx) can then be setup to do the authentication with whatever backend is needed, and populate the headers for us. A big benefit of this approach is that this is a common structure used in kubernetes, so for any organisation wanting to deploy to kubernetes this will work for free.

Perhaps this could be the only authentication method we support?
For other views/uses which want more persistent authentication methods, that becomes a matter of coordinating that with the loadbalancer doing the authentication. It would be possible to configure it to support multiple authentication methods, such as certificates of long-lived tokens. For these it will just be a matter of ensuring the client is capable of the chosen methods.

from sofie-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.