I’m using Python 3.10.1 in my MacOS. Facing the same issue. Initially, the access_token verification worked. But after some time It started throwing [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) error. Flask+Okta integration.
How to fix this permanently? Any proper solution? I tried disabling SSL checks in git and all, Nothing worked.