GithubHelp home page GithubHelp logo

Authentication for API endpoints about cerbos HOT 5 OPEN

cerbos avatar cerbos commented on May 14, 2024
Authentication for API endpoints

from cerbos.

Comments (5)

emreb avatar emreb commented on May 14, 2024

Should we be thinking about this separately for load and check end points?

Does basic authentication mean, just an http header? Perhaps we then need to give them a way of setting that in the config as well as in the support libraries.

If we are going to bake it into the support libraries perhaps we should just do JWT (and not the simplistic basic auth).

Client certificates is definitely premium feature.

Thoughts?

from cerbos.

charithe avatar charithe commented on May 14, 2024

Basic auth is the easiest way to get started and almost all HTTP libraries have support for it. It does involve setting a header, but, so does JWT. It's basically just sending a hashed username and a password in a header. It's not much work to support basic auth on our side and I think that can be a good starting point for many users who want to just try it out.

JWT is a bit more involved because they need to have a central signing server and distribute keys to applications. I don't think many small shops will have that infrastructure in place for their internal services (unless they are using something like Auth0 internally as well).

from cerbos.

emreb avatar emreb commented on May 14, 2024

from cerbos.

emreb avatar emreb commented on May 14, 2024

Is this still open? Docs says you can add certs.

from cerbos.

charithe avatar charithe commented on May 14, 2024

Yes. This task is about adding basic auth, JWT etc.

from cerbos.

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.