ggshield
ggshield copied to clipboard
feat(auth): enable OS port selection for OAuth server Use port 0 to …
…allow OS to automatically assign available port, removing hardcoded port range (8000-8010) from _prepare_server method. This resolves port conflict issues when the OAuth server fails to bind to predefined ports. Fixes #913
Refactor server preparation to use a dynamic port.
Context
What has been done
Validation
PR check list
- [ ] As much as possible, the changes include tests (unit and/or functional)
- [ ] If the changes affect the end user (new feature, behavior change, bug fix) then the PR has a changelog entry (see doc/dev/getting-started.md). If the changes do not affect the end user, then the
skip-changeloglabel has been added to the PR.
Also, please make sure to add a test for the feature you're adding. I'll let you ask for reviews when all of this is done.