Giter VIP home page Giter VIP logo

Comments (4)

johnbrett avatar johnbrett commented on August 11, 2024

Hey @jonathansamines, that sounds like a cool idea, and shouldn't need much work. Where would you see yourself using it?

To make the update will need to update:

  • lib/index.js: add a plugin.expose()
  • test/index.js: add a test and ensure we still have 100% coverage
  • README: update the documentation

from hapi-auth-bearer-token.

jonathansamines avatar jonathansamines commented on August 11, 2024

@johnbrett sorry for the delay, IΒ΄m currently dealing with a custom token-validation logic, which uses the bearer token scheme, so I was trying to use this plugin as part of other plugin, to validate the bearer-token format and then use my custom logic in the other plugin.

It seems like hapi doesnΒ΄t support multi-step authentication strategies, so the only way to combine multiple strategies together is by exposing that kind of interface.

from hapi-auth-bearer-token.

johnbrett avatar johnbrett commented on August 11, 2024

Hey @jonathansamines, sorry for the delay myself this time. That makes sense. Do you want to try put together a PR for this and we can work through it ?

from hapi-auth-bearer-token.

johnbrett avatar johnbrett commented on August 11, 2024

Hey @jonathansamines - haven't had any activity on this a while so will close it. If you want to work further on this, feel free to re-open - happy to work on it with you.

from hapi-auth-bearer-token.

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.