Next.js Discord

Discord Forum

"Next.js Version Compatibility and Webpack Integration Issues with FusionAuth in GPT Application

Unanswered
Marble gall posted this in #help-forum
Open in Discord
Avatar
Marble gallOP
Hello Next.js community,
I am currently working on integrating FusionAuth with my existing NextJS application. However, we're facing some challenges due to version compatibility issues. Here are the details:

Our current setup:

NextJS version: 13.1
Using the Pages Router (not App Router)
Custom webpack configuration for rendering LLM based chat Application


The issue:
The official FusionAuth NextJS integration seems to be designed for NextJS 13.2+ and uses the App Router. I am unable to upgrade to the latest NextJS version due to compatibility issues with our custom webpack configuration.

Questions:

- Does FusionAuth provide any integration options for older NextJS versions (specifically 13.1)?
- Are there any recommended workarounds or alternative approaches for integrating FusionAuth with our current setup?
- If upgrading NextJS is the only option, do you have any tips for maintaining compatibility with custom webpack configurations?

Any insights or recommendations would be greatly appreciated. Thank you in advance for your help!

0 Replies