Giter Site home page Giter Site logo

Override module options about jwt HOT 10 CLOSED

nestjs avatar nestjs commented on May 3, 2024
Override module options

from jwt.

Comments (10)

nartc avatar nartc commented on May 3, 2024 1

@wprk my bad, it's been Pending ๐Ÿ˜ข

from jwt.

jmcdo29 avatar jmcdo29 commented on May 3, 2024

@nartc the sign/signAsync, verify and decode functions all have a second optional parameter that override options from JwtModule. Are they not working properly?

from jwt.

nartc avatar nartc commented on May 3, 2024

The options donโ€™t have expiresIn secret option.

from jwt.

kamilmysliwiec avatar kamilmysliwiec commented on May 3, 2024

Would you like to create a PR for this issue @nartc? (allow passing secret dynamically) :)

from jwt.

nartc avatar nartc commented on May 3, 2024

@kamilmysliwiec Will do as soon as I have some time over the upcoming weekend.

from jwt.

wprk avatar wprk commented on May 3, 2024

Attempting to do it now @nartc as I need it for a project. Just testing it now and then I'll raise the PR.

from jwt.

wprk avatar wprk commented on May 3, 2024

@kamilmysliwiec can you have a look over my PR when you get a chance please :)

from jwt.

nartc avatar nartc commented on May 3, 2024

@wprk I have left a comment on your PR.

from jwt.

wprk avatar wprk commented on May 3, 2024

Thanks @nartc - Not seeing any comment though?

from jwt.

kamilmysliwiec avatar kamilmysliwiec commented on May 3, 2024

Added in 7.1.0

from 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.