Only Allowing B2C Login for API Management Developer Portal

hawthorne91 240 Reputation points
2024-01-23T20:09:00.5166667+00:00

Hello I've integrated Azure AD B2C into my API Management's developer portal. I want Azure AD B2C to be the only way to sign in the developer portal. I've deleted the identity providers for "Azure Active Directory" and "Username and password", however the username and password fields are still present in the developer portal. Would I need to delete these, and how would I go about deleting them? Also, is there functionality that seamlessly integrates the B2C login into the page, rather than the user having to click on the button to log into B2C? Thank you in advance.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
Microsoft Security Microsoft Entra Microsoft Entra External ID
{count} votes

2 answers

Sort by: Most helpful
  1. Silvia Wibowo 6,041 Reputation points Microsoft Employee Volunteer Moderator
    2024-01-24T00:59:50.46+00:00

    Hi @hawthorne91 , I understand that you've changed authentication source for APIM Developer Portal from Azure AD to Azure AD B2C.

    After you configure an identity provider, you need to republish the portal for the changes to take effect. Make sure your developer portal pages include the OAuth buttons widget.

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.


  2. JananiRamesh-MSFT 29,261 Reputation points
    2024-01-25T05:38:16.76+00:00

    @hawthorne91 Thanks for reaching out. To delete the username and password field in the developer portal please follow the below steps open your developer portal in admin mode.User's image

    click the SigninForm: Basic widget and delete it.
    User's image

    Save the changes and publish the portal. User's image

    After publishing open the developer portal in user mode. User's image

    I hope this helps! Let me know if you have any other questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.