The Complete Guide to React Authentication with Auth0

Howdy, Macm! Welcome to our Auth0 Community and thank you for reading the post.

With the guide that we just published, we are only scratching the surface of the React ecosystem. There are different uses cases that I am planning to cover in the coming weeks/months. The most important ones I have on my list are: React + TS version, using class components, and React + Redux.

I am in the process right now of formulating our Redux strategy, specially when the application architecture gets more complex using side effects.

In the meantime, this section of the SDK Docs, Use with a Class Component, can provide you insight on how to integrate the new Auth0 React SDK with class components :slight_smile: In a nutshell: You use the withAuth0 higher-order component that the SDK exposes to wrap your component. Then, all the SDK props are available to you through this.props.auth0.

I’ll keep this Community Topic updated as we develop more guidance for the React ecosystem :pray: