-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #831 from OwenRichards1/registration-includes-spa
[GTD] Registration includes (SPA)
- Loading branch information
Showing
10 changed files
with
91 additions
and
43 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...latform/includes/register-app/spa-common/add-platform-redirect-spa-port-3000.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: "Include file - Add a platform and redirect URI for a single-page application" | ||
author: OwenRichards1 | ||
manager: CelesteDG | ||
ms.author: owenrichards | ||
ms.custom: | ||
ms.date: 12/13/2023 | ||
ms.reviewer: | ||
ms.service: active-directory | ||
ms.subservice: develop | ||
ms.topic: include | ||
#Customer intent: | ||
--- | ||
|
||
To specify your app type to your app registration, follow these steps: | ||
|
||
1. Under **Manage**, select **Authentication**. | ||
1. On the **Platform configurations** page, select **Add a platform**, and then select **SPA** option. | ||
1. For the **Redirect URIs** enter `http://localhost:3000`. | ||
1. Select **Configure** to save your changes. |
20 changes: 20 additions & 0 deletions
20
...latform/includes/register-app/spa-common/add-platform-redirect-spa-port-4200.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: "Include file - Add a platform and redirect URI for a single-page application" | ||
author: OwenRichards1 | ||
manager: CelesteDG | ||
ms.author: owenrichards | ||
ms.custom: | ||
ms.date: 12/13/2023 | ||
ms.reviewer: | ||
ms.service: active-directory | ||
ms.subservice: develop | ||
ms.topic: include | ||
#Customer intent: | ||
--- | ||
|
||
To specify your app type to your app registration, follow these steps: | ||
|
||
1. Under **Manage**, select **Authentication**. | ||
1. On the **Platform configurations** page, select **Add a platform**, and then select **SPA** option. | ||
1. For the **Redirect URIs** enter `http://localhost:4200`. | ||
1. Select **Configure** to save your changes. |
31 changes: 31 additions & 0 deletions
31
...ty-platform/includes/register-app/spa-common/register-application-spa-common.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: "Include file - Register a single-page application in the Microsoft identity platform" | ||
author: OwenRichards1 | ||
manager: CelesteDG | ||
ms.author: owenrichards | ||
ms.custom: | ||
ms.date: 12/13/2023 | ||
ms.reviewer: | ||
ms.service: active-directory | ||
ms.subservice: develop | ||
ms.topic: include | ||
#Customer intent: | ||
--- | ||
|
||
To complete registration, provide the application a name, specify the supported account types, and add a redirect URI. Once registered, the application **Overview** pane displays the identifiers needed in the application source code. | ||
|
||
1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com). | ||
1. If you have access to multiple tenants, use the **Settings** icon :::image type="icon" source="../../../media/common/admin-center-settings-icon.png" border="false"::: in the top menu to switch to the tenant in which you want to register the application from the **Directories + subscriptions** menu. | ||
1. Browse to **Identity** > **Applications** > **App registrations**, select **New registration**. | ||
1. Enter a **Name** for the application, such as *identity-client-spa*. | ||
1. For **Supported account types**, select **Accounts in this organizational directory only**. For information on different account types, select the **Help me choose** option. | ||
1. Select **Register**. | ||
|
||
:::image type="content" source="../../../media/common-register-application/register-spa-common.png" alt-text="Screenshot that shows how to enter a name and select the account type in the Azure portal." lightbox="../../../media/common-register-application/record-identifiers-spa-common.png"::: | ||
|
||
1. The application's **Overview** pane is displayed when registration is complete. Record the **Directory (tenant) ID** and the **Application (client) ID** to be used in your application source code. | ||
|
||
:::image type="content" source="../../../media/common-register-application/record-identifiers-spa-common.png" alt-text="Screenshot that shows the identifier values on the overview page on the Azure portal." lightbox="../../../media/common-register-application/record-identifiers-spa-common.png"::: | ||
|
||
>[!NOTE] | ||
> The **Supported account types** can be changed by referring to [Modify the accounts supported by an application](../../../howto-modify-supported-accounts.md). |
Binary file added
BIN
+445 KB
...ty-platform/media/common-register-application/record-identifiers-spa-common.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+206 KB
docs/identity-platform/media/common-register-application/register-spa-common.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+133 KB
...tity-platform/media/common-spa/react-spa/display-api-call-results-react-spa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-84.7 KB
...-platform/media/single-page-app-tutorial-01-register-app/record-identifiers.png
Binary file not shown.
Binary file removed
BIN
-104 KB
...latform/media/single-page-app-tutorial-01-register-app/register-application.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters