New SDK for Express APIs

This Community topic is here to discuss Auth0’s new SDK for Express.js APIs express-oauth2-jwt-bearer, currently in Beta.

The new SDK provides Express.js middleware for protecting your APIs using OAuth2 Bearer JWTs.

It is designed to be a single package to replace our existing advice of using a combination of express-jwt, node-jwks-rsa and express-jwt-authz.

express-oauth2-jwt-bearer should greatly simplify the process of adding authorization to an Express.js API resulting in significantly less code to set up, replacing 3 dependencies with 1 and abstracting away more of the complexity of OAuth2 Bearer Tokens, JWKSs and JWTs.

As with any Beta version, it is not recommended for use in production applications as it may be subject to change.

The Beta period will run for a limited period of time. General Availability is planned later this year (2021).

We will only provide support for this Beta SDK in this Community topic.

Resources:

We welcome your feedback and reports on any issues you encounter when trying out this Beta version.

Should you have any feedback or questions about the SDK, please raise an issue via GitHub.

1 Like