Skip to content

code samples, an interface, or middleware for fastify (express is becoming legacy) #504

Closed
@jordanst3wart

Description

@jordanst3wart

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

Would it be possible to have code samples, middleware, or an interface for fastify?

I'm using auth for a nestjs app, using express, and this repository as express js middleware. I just became aware that express is basically dead in the water with updates. It still doesn't support http/2 despite it being a priority.

pr for http/2 (outstanding for 1.5 years): expressjs/compression#170
top priorities of express js (including http/2): https://expressjs.github.io/statusboard/
code frequency of express js: https://github.com/expressjs/express/graphs/code-frequency

Describe the ideal solution

Code samples, an interface/module that is usable, or a full middleware solution

Alternatives and current workarounds

There is this repository:
https://www.npmjs.com/package/fastify-auth0-verify

It has poor documentation, and 15,000 weekly downloads, and is growing.

The official auht0 express openid connect middleware has 46,061 weekly downloads:
https://www.npmjs.com/package/express-openid-connect

I don't like using an unofficial npm repository for important security purposes

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions