Possible solution:
In the patreon_auth/OAuth2Strategy.rpy replace this line:
return "http://localhost:" + str(webserver.PORT) + self.callback_url
With this:
return "http://127.0.0.1:" + str(webserver.PORT) + self.callback_url
And in the patreon client replace Redirect URIs with http://127.0.0.1:6167/auth
{"error":"invalid_request","error_description":"Mismatching redirect URI."}
Now this error appears when clicking (Allow)
I didn't modify anything, I used the file you released here. And I put the pateron credentials. Is there a problem with the files you imported and for some reason I don't have them?
(import http.server
from urllib.parse import urlparse, parse_qs, urlencode
from urllib.request import urlopen, Request
import threading
import json)