AppAuthError { message: 'Error: certificate has expired', extras: undefined }
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
[REQUIRED] Describe expected behavior
I want to get the openid-configuration value like this ,
But
When the authorization_service_configuration.ts procedure execute the 77 line
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at authorization_service_configuration.ts line 77 and trace the xhr call through JQueryRequestor in the Node and Electron environment. Check the issuer's openid-configuration endpoint and its certificate details; done means identifying the failing certificate source and documenting a reproducible resolution or provider-side cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, node.js, typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100