theGOTOguy / Oauth2-Mock-Server-Example

Example of getting auth tokens from the OAuth2 Mock server
MIT License
0 stars 0 forks source link

HTTP Listener apparently doesn't shut down. #2

Closed theGOTOguy closed 3 days ago

theGOTOguy commented 3 days ago

When you run the auth test with, e.g.:

venv/bin/python example_auth.py

It doesn't exit gracefully when the program ends. It stays running until you hit Ctrl+C.

Apparently the HTTP server thread isn't shutting down after capturing a request. Please terminate the thread when the request is over. This will matter when we build unit tests based on this downstream.