Ory allows Browser Redirects to be either full URLs or Paths. With NextJS, a "Browser Redirect" path of "/" will redirect to "http://localhost:3000/api/.ory/" instead of "http://localhost:3000/". Since relative paths are not accepted, it is very difficult to validate the authentication flow outside of production.
Ory allows Browser Redirects to be either full URLs or Paths.
With NextJS, a "Browser Redirect" path of "/" will redirect to "http://localhost:3000/api/.ory/" instead of "http://localhost:3000/".
Since relative paths are not accepted, it is very difficult to validate the authentication flow outside of production.