the error is pretty clear, the secret value is not valid for the specified clientid. how are you storing and retrieving the secret? the sample uses the default dev secrets storage and is not shared between machines.
Blazor Server webapp issue using Microsoft Identity Platform for authentication
Hello everyone, I developed a web application with Blazor server that uses Microsoft Identity Platform for user authentication. I created the project by following the step-by-step instructions in this article: https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server The project was created correctly, in Azure portal in the "Entra ID" service I find the application created and configured correctly with the same information/data reported in the Visual Studio 2022 project configuration file (appsettings.json). By choosing the "https" profile and running the exact same application on two different development machines, one works correctly in the other (the one from which I created the project) I continue to receive the following error: MsalServiceException: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. Original exception: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app 'XXX'. Trace ID: YYY Correlation ID: ZZZ Timestamp: 2024-01-24 14:50:54Z I confirm that the key used ("ClientSecret") is correct and It is the same for both applications on the two development machines. Any ideas on this? Thank you Stefano