Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does 'nestjs/passport' support fastify? #60

Closed
arekbal opened this issue Apr 11, 2019 · 3 comments
Closed

Does 'nestjs/passport' support fastify? #60

arekbal opened this issue Apr 11, 2019 · 3 comments

Comments

@arekbal
Copy link

arekbal commented Apr 11, 2019


[x] Feature request
[x] Documentation issue or request

From my understanding:
'passport' is highly reliant on 'express'. Therefore 'nestjs/passport' does not support 'fastify' or other httpadapters one might use.

I would just like it to be clarified to me, and if true, to be 'noted' in docs.

@kamilmysliwiec
Copy link
Member

Passport library doesn't support fastify fastify/fastify#147

@mubaidr
Copy link

mubaidr commented Dec 15, 2021

Is this still valid? If I am using @nestjs/platform-fastify that means I cannot use @nestjs/passport?

Trying to integrate these together, jwt strategy works fin, but:

  • local strategy does not seems to work
  • @Req or @Request is always undefined for resolvers.

@kamilmysliwiec
Copy link
Member

@mubaidr correct.

Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.

@nestjs nestjs locked and limited conversation to collaborators Dec 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants