-
Notifications
You must be signed in to change notification settings - Fork 3
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
Client_Secret Error #29
Comments
Can you send minimal reproducible example code? |
`
} |
Sorry for no error messages, you're using the library the 2nd way: Setup for web application. This way you don't use pkce at all.
|
I have already tried it that way, and the error persists. |
Please ensure your client_secret is valid, it works for me fine with this code. Console.log your env variables and compare them to actual values, ensure your secret is not expired or something maybe create a new one.
|
I have had this problem when using the library when creating an Auth with Microsoft despite having my Application ID, Secret ID.
invalid_client: The provided value for the 'client_secret' parameter is not valid.
at getToken (C:\Users\PC1\Documents\HTML Proyects\Minecraft-Launcher\node_modules\minecraft-auth\dist\MicrosoftAuth\MicrosoftAuth.js:183:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.authFlow (C:\Users\PC1\Documents\HTML Proyects\Minecraft-Launcher\node_modules\minecraft-auth\dist\MicrosoftAuth\MicrosoftAuth.js:267:22)
at async MicrosoftAccount.authFlow (C:\Users\PC1\Documents\HTML Proyects\Minecraft-Launcher\node_modules\minecraft-auth\dist\MicrosoftAuth\MicrosoftAccount.js:45:20)
at async C:\Users\PC1\Documents\HTML Proyects\Minecraft-Launcher\scripts\resources\providers\launcher.provider.js:21:17 {
additionalInfo: 'a73a54c9-5c44-4b0a-9910-7cae8bc8c379'
}
The text was updated successfully, but these errors were encountered: