Skip to content

Commit 331d482

Browse files
author
Tiago Brenck
committed
Fix missing reply url
1 parent 407f48d commit 331d482

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

2-WebApp-graph-user/2-3-Multi-Tenant/AppCreationScripts/Configure.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Function ConfigureApplications
191191
$webAppAadApplication = New-AzureADApplication -DisplayName "WebApp-MultiTenant-v2" `
192192
-HomePage "https://localhost:44321/" `
193193
-LogoutUrl "https://localhost:44321/signout-oidc" `
194-
-ReplyUrls "https://localhost:44321/", "https://localhost:44321/signin-oidc" `
194+
-ReplyUrls "https://localhost:44321/", "https://localhost:44321/signin-oidc", "https://localhost:44321/Onboarding/ProcessCode" `
195195
-IdentifierUris "https://$tenantName/WebApp-MultiTenant-v2" `
196196
-AvailableToOtherTenants $True `
197197
-PasswordCredentials $key `

2-WebApp-graph-user/2-3-Multi-Tenant/AppCreationScripts/sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"Kind": "WebApp",
1919
"Audience": "AzureADMultipleOrgs",
2020
"HomePage": "https://localhost:44321/",
21-
"ReplyUrls": "https://localhost:44321/, https://localhost:44321/signin-oidc",
21+
"ReplyUrls": "https://localhost:44321/, https://localhost:44321/signin-oidc, https://localhost:44321/Onboarding/ProcessCode",
2222
"LogoutUrl": "https://localhost:44321/signout-oidc",
2323
"PasswordCredentials": "Auto",
2424
"RequiredResourcesAccess": [

2-WebApp-graph-user/2-3-Multi-Tenant/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ description: "Build a multi-tenant SaaS web application that calls Microsoft Gra
2626

2727
## About this sample
2828

29-
This sample shows how to build an ASP.NET Core MVC web application that usesOpenID Connect to sign in users from multiple Azure AD tenants. Additionally it also introduces developers to the concept of a [multi-tenant](https://docs.microsoft.com/azure/active-directory/develop/single-and-multi-tenant-apps) Azure Active Directory application.
29+
This sample shows how to build an ASP.NET Core MVC web application that uses OpenID Connect to sign in users from multiple Azure AD tenants. Additionally it also introduces developers to the concept of a [multi-tenant](https://docs.microsoft.com/azure/active-directory/develop/single-and-multi-tenant-apps) Azure Active Directory application.
3030

3131
### Overview
3232

@@ -131,6 +131,7 @@ As a first step you'll need to:
131131
- In the Redirect URIs section, select **Web** in the drop down and enter the following redirect URIs.
132132
- `https://localhost:44321/`
133133
- `https://localhost:44321/signin-oidc`
134+
- `https://localhost:44321/Onboarding/ProcessCode`
134135
- In the **Advanced settings** section, set **Logout URL** to `https://localhost:44321/signout-oidc`.
135136
- In the **Advanced settings** | **Implicit grant** section, check the **ID tokens** option as this sample requires the [Implicit grant flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-implicit-grant-flow) to be enabled to sign-in the user, and call an API.
136137

0 commit comments

Comments
 (0)