How to use Auth0 with nextjs 13

I can’t find how to use auth0 with next js 13 app directory

I don’t understand, ?

Hey there!

Here’s more on that front:

Thank for your reply but do you have any idea when Auth0 will be usable with Next 13?

There is a beta version of the NextJS-Auth0 SDK that has support for the App Directory. There is some pretty good documentation on the beta branch as well as an example program that shows how it is implemented. It isn’t ready for production though.

Keep in mind, if you install the beta version of the SDK into your NextJS 13 app, you will also need to uninstall the regular version, otherwise your imports won’t work when you try to implement it.

Here is the link: https://github.com/auth0/nextjs-auth0/blob/beta/README.md

2 Likes

Thanks for the github link

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.