Open phonzammi opened 5 months ago
Hi @frederikprijck, I'm sorry to tag you.
Would you mind reviewing this PR ? I'd like to know what do you think of this. is this a "breaking changes"? Does Auth0 team has any plan to support more node js framework or more server environment?
By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
When we want to integrate/use this library with other frameworks (e.g. unjs/h3), we need to create an express app first than we can use this library. In this case we have to install
express
package too. For example when using with unjs/h3If we use it like this (without an express app) :
Than it will throws this errors
With this changes, we can use this library with other frameworks without having to create an express app
Testing
I have successfully tested this changes with
fastify
andunjs/h3
Checklist