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

Use less common port to avoid port conflicts #16

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

Nightriff
Copy link
Collaborator

Currently, the plugin uses port 8080 to start its localhost server listening for the oauth2 login callback.
This is a very common port used for alternative HTTP traffic. While the port selection makes sense, the fact that it's so common also raises the chance for conflicts with other applications.

This PR changes the port from 8080 to 8181, which is not a commonly used port but still resembles 8080 enough to indicate to a reader that it's used for http traffic.

This Wikipedia article has a nice list of commonly used port numbers to avoid, and it does not list 8181 as common.

This should help avoid issues like #12

@Nightriff Nightriff added the bug Something isn't working label Aug 31, 2023
@Nightriff
Copy link
Collaborator Author

OAuth2 app is now updated to additionally allow callbacks to port 8181

@Nightriff Nightriff merged commit c5c7932 into main Sep 5, 2023
@Nightriff Nightriff deleted the fix/avoid-common-localhost-port branch September 5, 2023 19:37
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants