Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error by starting app.js #12

Open
0x7da opened this issue Nov 25, 2023 · 0 comments
Open

error by starting app.js #12

0x7da opened this issue Nov 25, 2023 · 0 comments

Comments

@0x7da
Copy link

0x7da commented Nov 25, 2023

Node Version v20.5.1

/home/MCProfile.io/node_modules/@azure/msal-common/dist/index.cjs.js:498
_this = _super.call(this, errorString) || this;
^

ClientAuthError: invalid_client_credential: Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential
at ClientAuthError.AuthError [as constructor] (/home/MCProfile.io/node_modules/@azure/msal-common/dist/index.cjs.js:498:24)
at new ClientAuthError (/home/MCProfile.io/node_modules/@azure/msal-common/dist/index.cjs.js:818:28)
at ClientAuthError.createInvalidCredentialError (/home/MCProfile.io/node_modules/@azure/msal-common/dist/index.cjs.js:1057:16)
at ConfidentialClientApplication.setClientCredential (/home/MCProfile.io/node_modules/@azure/msal-node/dist/msal-node.cjs.development.js:2564:40)
at new ConfidentialClientApplication (/home/MCProfile.io/node_modules/@azure/msal-node/dist/msal-node.cjs.development.js:2453:10)
at file:///home/MCProfile.io/routes/auth.js:8:22
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
at async DefaultModuleLoader.import (node:internal/modules/esm/loader:228:24)
at async loadESM (node:internal/process/esm_loader:40:7)
at async handleMainPromise (node:internal/modules/run_main:66:12) {
errorCode: 'invalid_client_credential',
errorMessage: 'Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential',
subError: ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant