<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009xRI19CAGOkta Identity EngineAccess GatewayAnswered2024-07-08T09:20:28.000Z2024-01-25T09:39:44.000Z2024-01-26T16:31:25.000Z

why4c (why4c) asked a question.

Facing an issue to integrate Auth0 in Next.js and Node.js app

We have created a platform with using the tech-stacks' like Next.js for the frontend and Node.js for the backend and we are using the MongoDB for the data storage. We had decided to use the Auth0's oAuth2.0 for the authentication and authorization.

But we are facing an challenge to implement the Auth0 integration in Next.js app which is using the normal react not using the typescript. And in backend using the Node.js.

 

I faced an issue to integrate it with Next.js, and when I try to implement it like in React.js then faced an issue like "your application need to wrap in Auth0Provider". We are using the app routes in Next.js and we don't have App.js file hence we can't able to wrap the app inside the Auth0provider.


Loading
Facing an issue to integrate Auth0 in Next.js and Node.js app