OAuth 2 MUST utilize https. To avoid this error during the development you need to update the environment variable with insecure transport 12 Jan, 2023 python google oauth 12 Jan, 2023 python google oauth