OAuthCallbackListener handles OAuth redirect callbacks Starts a temporary HTTP server to receive authorization code
Note: Caller is responsible for finding an available port using get-port package
Get the callback URL for this server
Start the callback server Fails fast if port is already in use - caller should use get-port to find available port
Stop the callback server and close
Wait for OAuth callback with timeout
OAuthCallbackListener handles OAuth redirect callbacks Starts a temporary HTTP server to receive authorization code
Note: Caller is responsible for finding an available port using get-port package