Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path redirections not working as expected #42

Open
kevinsmouts opened this issue Oct 25, 2022 · 1 comment
Open

Path redirections not working as expected #42

kevinsmouts opened this issue Oct 25, 2022 · 1 comment

Comments

@kevinsmouts
Copy link

kevinsmouts commented Oct 25, 2022

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.

@kevinsmouts
Copy link
Author

I've created a pull request to illustrate my issue:

#43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant