The Complete Guide to React Authentication with Auth0

What is the difference between @auth0/auth0-spa-js and @auth0/auth0-react?

The SPA sdk is older while the React sdk is very new, but how are they different in usage and underlying implementation? Are there differences/benefits that would make it easier to use one over the other?

Also, in terms of the conversation on a previous blog post (How to Secure GatsbyJS Sites with Auth0 for Authentication), which sdk would you recommend for usage with Gatsby given that Gatsby is geared towards SPAs built with React?

2 Likes