A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
Hi @Anonymous ,
thanks for the help. I followed your tutorial, and I'm stuck on the last step.
I've set everything up with my backend running at https://localhost:7291 and my frontend at https://localhost:7290.
On the frontend I'm able to log in successfully, but I don't receive any token.
On the line Scopes = new[] { "api://client_id_exposing_api/Tiny.Read" }
I replaced client_id_exposing_api with the client id from the app settings. (Hope that is correct)
That is the response I'm getting:
{
"error": "invalid_resource",
"error_description": "AADSTS500011: The resource principal named api://5550be71-...3df6c was not found in the tenant named 0d156cc0-...-566ae64a63ef. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: Correlation ID: Timestamp: ",
"error_codes": [
500011
],
"error_uri": "https://login.microsoftonline.com/error?code=500011"
}
Maybe something is missing in our azure configuration?