-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
Bug Report
Prerequisites
- Can you reproduce the problem?
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you perform a cursory search?
Description
In /msgraph-sdk-javascript/blob/dev/samples/javascript/clientInitialization/tokenCredentialAuthenticationProvider/index.js on L#11
some secrets are imported
const { clientId, clientSecret, scopes, tenantId } = require("./secrets");
I looked up in the repo and secrets.js doesn't exist but, secrets are defined in index.js only
It's a little bit confusing and gives an error when the user tries to run the file, also documentation is also a little bit ambiguous about defining the secrets.
Steps to Reproduce
Try running the sample without removing secrets import line
SDK Version - [SDK version you are using]
- Node (Check, if using Node version of SDK)
Node Version - v16.10.0
Happy to update the documentation and secrets file.