Hello, I am following the Okta+Flask integration guide. I created the application but I keep getting following error when I click on login button and put my dev account email and password:
“ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:2361)”
I have tried inserting following code to create unverified context, but it doesn’t work either.
_create_unverified_https_context = ssl._create_unverified_context
# Legacy Python that doesn’t verify HTTPS certificates by default
# Handle target environment that doesn’t support HTTPS verification
ssl._create_default_https_context = _create_unverified_https_context
Can anyone please help me with this issue ? I have app.config[“OIDC_COOKIE_SECURE”] set to False.
Thanks in advance!