okta-jwt-verifier-python icon indicating copy to clipboard operation
okta-jwt-verifier-python copied to clipboard

Disable https_check for local environments

Open jiturriagaAB opened this issue 3 years ago • 1 comments

I'm currently working with a local okta server on my machine which obviously doesn't use https, however there's no way to disable the https_check from within my code. https://github.com/okta/okta-jwt-verifier-python/blob/a43bd2f04559663a0ba1fdfc6ac3a883974cc14e/okta_jwt_verifier/config_validator.py#L24 It seems like a fairly straight forward fix to allow the user to change https_check for the config validator.

jiturriagaAB avatar Oct 06 '22 18:10 jiturriagaAB

For information, the https check can be disabled in https://github.com/okta/okta-sdk-python with the environment variable OKTA_TESTING_TESTINGDISABLEHTTPSCHECK

It would be great if this option is added here.

Ref: https://github.com/okta/okta-sdk-python#environment-variables

forzagreen avatar Sep 12 '23 15:09 forzagreen