From 8a1a1c58e85f256e93addb264ed9abb8e01cfb65 Mon Sep 17 00:00:00 2001 From: Xavi Mestres Date: Tue, 27 Feb 2024 21:05:30 +0100 Subject: [PATCH] Update README.md In section *Configure the client app (msal-react-spa) to use your app registration* we must to replace the placeholder with the Application ID URI instead of the Application ID (client) --- 3-Authorization-II/1-call-api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3-Authorization-II/1-call-api/README.md b/3-Authorization-II/1-call-api/README.md index 758ef409..01fb20b9 100644 --- a/3-Authorization-II/1-call-api/README.md +++ b/3-Authorization-II/1-call-api/README.md @@ -234,7 +234,7 @@ Open the project in your IDE (like Visual Studio or Visual Studio Code) to confi 1. Open the `SPA\src\authConfig.js` file. 1. Find the string `Enter_the_Application_Id_Here` and replace the existing value with the application ID (clientId) of `msal-react-spa` app copied from the Azure portal. 1. Find the string `Enter_the_Tenant_Info_Here` and replace the existing value with your Azure AD tenant/directory ID. -1. Find the string `Enter_the_Web_Api_Application_Id_Here` and replace the existing value with the application ID (clientId) of `msal-node-api` app copied from the Azure portal. +1. Find the string `Enter_the_Web_Api_Application_Id_Here` and replace the existing value with APP ID URI of the web API project that you've registered earlier, e.g. `api:///Todolist.Read` ### Step 4: Running the sample @@ -462,4 +462,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope * [Validating Access Tokens](https://docs.microsoft.com/azure/active-directory/develop/access-tokens#validating-tokens) * [User and application tokens](https://docs.microsoft.com/azure/active-directory/develop/access-tokens#user-and-application-tokens) * [Validation differences by supported account types](https://docs.microsoft.com/azure/active-directory/develop/supported-accounts-validation) -* [How to manually validate a JWT access token using the Microsoft identity platform](https://github.com/Azure-Samples/active-directory-dotnet-webapi-manual-jwt-validation/blob/master/README.md) \ No newline at end of file +* [How to manually validate a JWT access token using the Microsoft identity platform](https://github.com/Azure-Samples/active-directory-dotnet-webapi-manual-jwt-validation/blob/master/README.md)