C

redwoodjs/core/4/auth-decoder

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod for RedwoodJS v4 automatically inserts an authDecoder property into the createGraphQLHandler call if it's not already present. It also adds an import statement for authDecoder from @redwoodjs/auth-auth0-api at the beginning of the file, ensuring that the necessary functionality for authentication is correctly integrated.

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.