Next.js Discord

Discord Forum

InertiaJS and NextJS redirect renders inside the inertiaJS app

Unanswered
Florida White posted this in #help-forum
Open in Discord
Florida WhiteOP
Hello everyone,

I'm working with an authentication server built using Laravel, React, and Inertia.js.
There's also a separate frontend project hosted on a different server and domain.

Frontend = software1
Auth server = auth

In the video, I first visit the software1 website, and I am immediately redirected to the auth server for login.
After logging in, I get redirected back to software1, but the page renders inside the auth domain rather than returning properly to software1.

Has anyone a Idea how to fix this?

0 Replies