Closed piyushSinghalDemo closed 2 years ago
Please open a more complete, comprehensive report.
It's unlikely this is a bug so a Q&A discussion is more appropriate.
For you to get help you must provide easy and clear steps to reproduce your issue. An error message without a stack trace is also quite meaningless.
Describe the bug
I am trying upgrade openid-client from 4.7.4 to 5.1.8 and oidc-provider from 6.31.0 to 7.11.5 . In initial call when i do issuer configuration call it throows error ‘unable to get local issuer certificate’. In our nestjs application we were doing below cerficate configuration
To Reproduce Issuer and Client configuration: (inline or gist) - Don't forget to redact your secrets. const { Issuer, generators, custom } = require('openid-client'); async onModuleInit() { let options: any = { rejectUnauthorized: false, } options.ca = fs.readFileSync(CA_PATH); custom.setHttpOptionsDefaults(options); }
Steps to reproduce the behaviour:
Expected behaviour Previous certification configuration may be working in new version also
Environment:
Additional context Add any other context about the problem here.