Skip to content

run_local_server blocks if port is unavailable #28

@wrouesnel

Description

@wrouesnel

Executing

flow.run_local_server(host='localhost',
    port=8888, 
    authorization_prompt_message='Please visit this URL: {url}', 
    success_message='The auth flow is complete; you may close this window.',
    open_browser=True)

with something listening on port 8888 already blocks the process, rather then returning an error message.

Would be partially mitigated by #23 being merged, but this situation should throw an exception.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions