Skip to content

Commit a776c27

Browse files
committed
Acrolinx nits
1 parent f0b1f27 commit a776c27

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/active-directory/develop/scenario-web-app-sign-user-app-configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You might want to refer to this sample for full implementation details.
6363

6464
## Configuration files
6565

66-
Web applications that sign in users by using the Microsoft identity platform are configured through configuration files. These are the values you're required to specify in the configuration:
66+
Web applications that sign in users by using the Microsoft identity platform are configured through configuration files. Those files must specify the following values:
6767

6868
- The cloud **instance** if you want your app to run in national clouds, for example. The different options include;
6969
- `https://login.microsoftonline.com/` for Azure public cloud
@@ -199,7 +199,7 @@ CLIENT_SECRET=<client secret>
199199
TENANT_ID=<tenant id>
200200
```
201201

202-
Those environment variables are referenced by *app_config.py*:
202+
Those environment variables are referenced in *app_config.py*:
203203

204204
:::code language="python" source="~/ms-identity-python-webapp-tutorial/app_config.py" highlight="4,6,9":::
205205

@@ -219,7 +219,7 @@ The initialization code differences are platform dependant. For ASP.NET Core and
219219
In ASP.NET Core web apps (and web APIs), the application is protected because you have a `Authorize` attribute on the controllers or the controller actions. This attribute checks that the user is authenticated. Prior to the release of .NET 6, the code initialization was in the *Startup.cs* file. New ASP.NET Core projects with .NET 6 no longer contain a *Startup.cs* file. Taking its place is the *Program.cs* file. The rest of this tutorial pertains to .NET 5 or lower.
220220

221221
> [!NOTE]
222-
> If you want to start directly with the new ASP.NET Core templates for Microsoft identity platform, that leverage Microsoft.Identity.Web, you can download a preview NuGet package containing project templates for .NET 5.0. Then, once installed, you can directly instantiate ASP.NET Core web applications (MVC or Blazor). See [Microsoft.Identity.Web web app project templates](https://aka.ms/ms-id-web/webapp-project-templates) for details. This is the simplest approach as it will do all the steps below for you.
222+
> If you want to start directly with the new ASP.NET Core templates for Microsoft identity platform, that leverage Microsoft.Identity.Web, you can download a preview NuGet package containing project templates for .NET 5.0. Then, once installed, you can directly instantiate ASP.NET Core web applications (MVC or Blazor). See [Microsoft.Identity.Web web app project templates](https://aka.ms/ms-id-web/webapp-project-templates) for details. This is the simplest approach as it will do all the following steps for you.
223223
>
224224
> If you prefer to start your project with the current default ASP.NET Core web project within Visual Studio or by using `dotnet new mvc --auth SingleOrg` or `dotnet new webapp --auth SingleOrg`, you'll see code like the following:
225225
>
@@ -230,7 +230,7 @@ In ASP.NET Core web apps (and web APIs), the application is protected because yo
230230
>
231231
> This code uses the legacy **Microsoft.AspNetCore.Authentication.AzureAD.UI** NuGet package which is used to create an Azure AD v1.0 application. This article explains how to create a Microsoft identity platform (Azure AD v2.0) application which replaces that code.
232232
233-
1. Add the [Microsoft.Identity.Web](https://www.nuget.org/packages/Microsoft.Identity.Web) and [Microsoft.Identity.Web.UI](https://www.nuget.org/packages/Microsoft.Identity.Web.UI) NuGet packages to your project. Remove the `Microsoft.AspNetCore.Authentication.AzureAD.UI` NuGet package if it is present.
233+
1. Add the [Microsoft.Identity.Web](https://www.nuget.org/packages/Microsoft.Identity.Web) and [Microsoft.Identity.Web.UI](https://www.nuget.org/packages/Microsoft.Identity.Web.UI) NuGet packages to your project. Remove the `Microsoft.AspNetCore.Authentication.AzureAD.UI` NuGet package if it's present.
234234
235235
2. Update the code in `ConfigureServices` so that it uses the `AddMicrosoftIdentityWebAppAuthentication` and `AddMicrosoftIdentityUI` methods.
236236
@@ -268,7 +268,7 @@ In ASP.NET Core web apps (and web APIs), the application is protected because yo
268268
}
269269
```
270270
271-
In the code above:
271+
In that code:
272272
- The `AddMicrosoftIdentityWebAppAuthentication` extension method is defined in **Microsoft.Identity.Web**, which;
273273
- Adds the authentication service.
274274
- Configures options to read the configuration file (here from the "AzureAD" section)

0 commit comments

Comments
 (0)