Git Product home page Git Product logo

Comments (5)

mikenicholson avatar mikenicholson commented on July 24, 2024

Do you have examples of other strategies that work this way? I was looking for examples and was unable to find any.

from passport-jwt.

mikenicholson avatar mikenicholson commented on July 24, 2024

Closing due due to no response from author.

from passport-jwt.

davesag avatar davesag commented on July 24, 2024

Sorry I didn't realise you were waiting on a response from me. I am not sure of other impls but this PR solved our immediate problem.

I'm not on that project any more so do what you like. :-)

Dave

Sent from my iPhone

On 25 Feb 2016, at 1:21 PM, Mike Nicholson [email protected] wrote:

Closing due due to no response from author.


Reply to this email directly or view it on GitHub.

from passport-jwt.

manast avatar manast commented on July 24, 2024

Ok, maybe I have misunderstood how JWT token is supposed to work. But lets say that I have a REST API that I want to authenticate using JWT. I would expect that every user of the API has his own secret instead of sharing the same key to all the users... how do you solve this scenario when the secretOrToken is a fixed value?

from passport-jwt.

davesag avatar davesag commented on July 24, 2024

@manast the secret in this case is something your service supplies to client services and apps, not to specific users.

from passport-jwt.

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.