openid / AppAuth-JS

JavaScript client SDK for communicating with OAuth 2.0 and OpenID Connect providers.
Apache License 2.0
972 stars 162 forks source link

AppAuthError { message: 'Error: certificate has expired', extras: undefined } #225

Open helianthus617 opened 1 year ago

helianthus617 commented 1 year ago

[REQUIRED] Describe expected behavior

I want to get the openid-configuration value like this ,

image

But

When the authorization_service_configuration.ts procedure execute the 77 line image it throws the exeception AppAuthError { message: 'Error: certificate has expired', extras: undefined }

[REQUIRED] Environment

if someone needs the answer to reslove Please tell me , thanks a lot

mattvalleycodes commented 6 months ago

Most probably, it's certificate of the OAuth2 server which you cannot by pass out of the box. If you need to by-pass it, you can provide a custom Requester, and by-pass the error that way.