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: articles/api-management/developer-portal-basic-authentication.md
+15-17Lines changed: 15 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,29 +12,21 @@ ms.author: danlep
12
12
13
13
# Authenticate users of the developer portal by using usernames and passwords
14
14
15
-
In the developer portal for Azure API Management, the default authentication method for users is the provide a username and password. In this article, learn how to set up a user with basic authentication credentials to the developer portal
16
-
17
-
18
-
In this article, you'll learn how to:
19
-
> [!div class="checklist"]
20
-
> * ...
15
+
In the developer portal for Azure API Management, the default authentication method for users is to provide a username and password. In this article, learn how to set up users with basic authentication credentials to the developer portal.
21
16
22
17
23
18
## Prerequisites
24
19
25
20
- Complete the [Create an Azure API Management instance](get-started-create-service-instance.md) quickstart.
26
21
27
-
-[Import and publish](import-and-publish.md) an API in the Azure API Management instance.
By default, the Username and password identity provider is enabled in the developer portal. To confirm this setting:
29
+
By default, the username and password *identity provider* is enabled in the developer portal. To confirm this setting:
38
30
39
31
1. In the left menu of your API Management instance, under **Developer portal**, select **Identities**.
40
32
1. In the **Provider type** list, confirm that **Username and password** appears.
@@ -46,27 +38,33 @@ If the provider isn't already enabled, you can add it:
46
38
47
39
## Add a username and password
48
40
49
-
There are two ways to add a username and password:
41
+
There are two ways to add a username and password for authentication to the developer portal:
42
+
43
+
* An API publisher can add a user through the Azure portal, or with equivalent Azure tools such as the [New-AzApiManagementUser](/powershell/module/az.apimanagement/new-azapimanagementuser) Azure PowerShell cmdlet. For steps to use the portal, see [How to manage user accounts in Azure API Management](api-management-howto-create-or-invite-developers.md).
50
44
51
-
* An API publisher can add a user through the Azure portal, or with equivalent Azure tools such as the [New-AzApiManagementUser](/powershell/module/az.apimanagement/new-azapimanagementuser) Azure PowerShell cmdlet. For steps using the portal, see [How to manage user accounts in Azure API Management](api-management-howto-create-or-invite-developers.md).
45
+
:::image type="content" source="media/developer-portal-basic-authentication/add-user-portal.png" alt-text="Screenshot showing how to add a user in the Azure portal.":::
52
46
53
47
* An API consumer (developer) can sign up directly in the developer portal, using the **Sign up** page.
54
48
49
+
:::image type="content" source="media/developer-portal-basic-authentication/developer-portal-sign-up-page.png" alt-text="Screenshot of the sign-up page in the developer portal.":::
50
+
55
51
> [!NOTE]
56
52
> API Management enforces password strength requirements including password length. When you add a user in the Azure portal, the password must be at least 6 characters long. When a developer signs up or resets a password through the developer portal, the password must be at least 8 characters long.
57
53
54
+
## Delete the username and password provider
58
55
59
-
60
-
## Delete the Username and password provider
61
-
62
-
If you've configured another identity provider for the developer portal such as [Azure AD](api-management-howto-aad.md) or [Azure AD B2C](api-management-howto-aad-b2c.md), you might want to delete the Username password provider:
56
+
If you've configured another identity provider for the developer portal such as [Azure AD](api-management-howto-aad.md) or [Azure AD B2C](api-management-howto-aad-b2c.md), you might want to delete the username and password provider:
63
57
64
58
1. In the left menu of your API Management instance, under **Developer portal**, select **Identities**.
65
59
1. In the **Provider type** list, select **Username and password**. In the context menu (**...**), select **Delete**.
66
60
67
61
68
62
## Next steps
69
63
64
+
For steps to add other identity providers for developer sign-up to the developer portal, see:
65
+
66
+
-[Authorize developer accounts by using Azure Active Directory in Azure API Management](api-management-howto-aad.md)
67
+
-[Authorize developer accounts by using Azure Active Directory B2C in Azure API Management](api-management-howto-aad-b2c.md)
0 commit comments