Open kevinsmouts opened 1 year ago
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.
I've created a pull request to illustrate my issue:
https://github.com/ory/integrations/pull/43
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.