Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Narrow the scope of the local server handler
Before, the local server handled any request regardless of path, which could potentially include requests generated by the browser such as the one for favicon. This could lead to race conditions around reading the code to continue to OAuth flow with. Now, have the OAuth flow redirect to `localhost:PORT/callback` and only handle `/callback` requests specifically.
- Loading branch information