You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ As a first step you'll need to:
79
79
1. Click on **All services** in the left-hand nav, and choose **Azure Active Directory**.
80
80
81
81
> In the next steps, you might need the tenant name (or directory name) or the tenant ID (or directory ID). These are presented in the **Properties**
82
-
of the Azure Active Directory window respectively as *Name* and *Directory ID*
82
+
of the Azure Active Directory window respectively as *Name* and *Directory ID*
83
83
84
84
#### Register the service app (TodoListService-ManualJwt)
85
85
@@ -139,6 +139,7 @@ This method:
139
139
4. Sets the parameters to validate:
140
140
- the audience - the application accepts both its App ID URI and its AppID/clientID
141
141
- the valid issuers - the application accepts both Azure AD V1 and Azure AD V2
142
+
142
143
5. Then it delegates to the `JwtSecurityTokenHandler` class (provided by the `System.IdentityModel.Tokens` library)
143
144
144
145
the `TokenValidationHandler` class is registered with ASP.NET in the `TodoListService-ManualJwt/Global.asx.cs` file, in the [application_start()](https://github.com/Azure-Samples/active-directory-dotnet-webapi-manual-jwt-validation/blob/4b80657c5506c8cb30af67b9f61bb6aa68dfca58/TodoListService-ManualJwt/Global.asax.cs#L54) method:
@@ -187,19 +188,19 @@ This project has one WebApp / Web API projects. To deploy them to Azure Web Site
187
188
### Create and Publish the `TodoListService-ManualJwt` to an Azure Web Site
6. On the Settings tab, make sure `Enable Organizational Authentication` is NOT selected. Click **Save**. Click on **Publish** on the main screen.
195
196
7. Visual Studio will publish the project and automatically open a browser to the URL of the project. If you see the default web page of the project, the publication was successful.
196
197
197
198
### Update the Active Directory tenant application registration for `TodoListService-ManualJwt`
198
199
199
200
1. Navigate to the [Azure portal](https://portal.azure.com).
0 commit comments