I want to connect to an API which is using OAuth 2.0. It requires OAuth Redirect URI which is defined as: "The URL authenticated OAuth flows for this application should be redirected to." From this definition, I understand that it should be 'my computer'.
I am using Python 3.9 and I send GET request to the API using http.client module. So, what is the address of this http.client that I can type as OAuth Redirect URI?
Should I define host and port using Socket module?
I tried localhost:8000 for the OAuth Redirect URI, but then it seemed irrational, also not worked. I have googled it but I am confused as hell due to the client, host, server definitions.
I also tried no-ip.com free hostnames to type to the Redirect URI but I couldn't manage to get it work..