Coder Social home page Coder Social logo

Guardian V1 Support about sentinel HOT 3 OPEN

britton-jb avatar britton-jb commented on July 29, 2024
Guardian V1 Support

from sentinel.

Comments (3)

britton-jb avatar britton-jb commented on July 29, 2024 1

Sounds great. Thanks for all of the hard work on Guardian.

from sentinel.

britton-jb avatar britton-jb commented on July 29, 2024

@hassox Thanks for sending this my way. Very excited about the pipeline change. In a branch I'm working on accomplishing the same kind of functionality so seeing this is awesome.

The timing also works out well, as my lockable module was going to implement some breaking changes, so this will work nicely into the next version.

Supporting token types other than JWT

Just a lack of knowledge on my part, but can you give examples of that?

Everything else looks very straight forward, so I'll take a look at the docs and let you know if I have any other questions.

from sentinel.

hassox avatar hassox commented on July 29, 2024

Hey @britton-jb

The new version allows multiple modules to be configured. As part of that, each module specifies a token_module. This module is setup as a behaviour (see Guardian.Token) So long as the token module conforms to the behaviour then it should be fine. The only type of token that Guardian supports out of the box is still JWT but this mechanism allows 3rd party token modules to be created. It's in response to some requests we've had. I have no current plans to implement another type of token but the possibility is there moving forward.

The most immediate use case of this functionality I think is to allow support for specific producers (like Auth0) although a full token module wouldn't be needed for that. Only a change to the verifier and a specific secret lookup.

We've tried to keep it as backward compatible as possible but still push though cleanup of various apis and the overall structure of the lib.

If you want hit me up on Slack and I'll try and answer any questions you have mate :)

from sentinel.

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.