ggshield
ggshield copied to clipboard
feat: use OS port selection for OAuth server
Description
Implements OS-based port selection for the local OAuth server as requested in #913.
Changes
- Modified
_prepare_server()to use port0for automatic OS port assignment - Removed
USABLE_PORT_RANGEconstant (no longer needed) - Simplified error handling
Benefits
- Cleaner, more maintainable code
- More reliable port selection
- Faster server initialization (no loop iteration)
Fixes #913
Hi @saikumarvasa100-hash, thanks for your PR. Unfortunately, the tests are failing. Can you look into this?
Closing this as we didn't get feedback from @saikumarvasa100-hash