Skip to content

adding Promise handling to jwtFromRequest result, type checking on result and error handling for new functionality.#187

Open
sbaker wants to merge 1 commit intomikenicholson:masterfrom
sbaker:feature/jwtFromRequest-returning-promise
Open

adding Promise handling to jwtFromRequest result, type checking on result and error handling for new functionality.#187
sbaker wants to merge 1 commit intomikenicholson:masterfrom
sbaker:feature/jwtFromRequest-returning-promise

Conversation

@sbaker
Copy link

@sbaker sbaker commented Sep 7, 2019

adding Promise functionality in _jwtFromRequest result and adding unit tests to support new functionality
this fixes issue #186

@sbaker sbaker changed the title adding Promise handling and type checking and error handling for Promises adding Promise handling to jwtFromRequest result, type checking on result and error handling for new functionality. Sep 7, 2019
@sbaker
Copy link
Author

sbaker commented Sep 10, 2019

Hi, @mikenicholson I was wondering if you've had a chance to review this PR?

@DocLM
Copy link

DocLM commented Nov 17, 2020

+1

@nlopezm
Copy link

nlopezm commented Dec 25, 2020

Hi, @mikenicholson I would really appreciate it if you can take a look at this PR. I need to be able to pass a Promise to jwtFromRequest. Thanks!

@sbaker
Copy link
Author

sbaker commented Aug 17, 2021

Great point! Thanks!

@Outternet
Copy link

This is a good idea, I have adopted your implemetation in the major rewrite pull request.

@hananawi
Copy link

hananawi commented Aug 1, 2025

hello, may i ask can i use the promise feature in passport-jwt, seems the MR is approved but not yet be merged?
i think it's useful to allow get jwt token in async way

@sbaker
Copy link
Author

sbaker commented Aug 1, 2025

Merging PR. Sorry for the delay! I completely forgot about this. It's been like 6 years.

@sbaker sbaker closed this Aug 1, 2025
@sbaker
Copy link
Author

sbaker commented Aug 1, 2025

There wasn't a merge, just a close with comment.

@sbaker sbaker reopened this Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants