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

Default redirect uri http://localhost:80 results in permission denied error on Linux systems #116

Open
timalenustmf opened this issue Aug 8, 2024 · 0 comments

Comments

@timalenustmf
Copy link

When creating a flow without a redirectUri specified the default redirectUri is set to http://localhost (which implies port 80). However binding a program to port 80 is by default not possible on Linux systems when running as non-root. This results in the following error:
SocketException: Failed to create server socket (OS Error: Permission denied, errno = 13), address = 0.0.0.0, port = 80

Running my dart program as root should not be necessary and is not recommended.

Changing the default redirectUri to http://localhost:8081 for example fixed my permission denied error.

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