Skip to content

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

@ghost

Description

[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

  • AppAuth-JS version: __"@openid/appauth": "^1.2.7"
  • AppAuth-JS Environment (Node, Browser (UserAgent), ...): Node+ Electron.js_______
  • Source code snippts (inline or JSBin)
 static fetchFromIssuer(openIdIssuerUrl: string, requestor?: Requestor):
      Promise<AuthorizationServiceConfiguration> {
    const fullUrl = `${openIdIssuerUrl}/${WELL_KNOWN_PATH}/${OPENID_CONFIGURATION}`;

    const requestorToUse = requestor || new JQueryRequestor();

    return requestorToUse
        .xhr<AuthorizationServiceConfigurationJson>({url: fullUrl, dataType: 'json', method: 'GET'})
        .then(json => new AuthorizationServiceConfiguration(json));
  }

Which certificate does the error point ? where is the certificate from?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions