User Flow with Azure AD B2C and API Management Service for Subscription Key Authentication and Login

hampton123 1,170 Reputation points
2023-06-26T19:28:41.51+00:00

How can I integrate Azure AD B2C login system with Azure API Management service to enable subscription key authentication and a login system? As a new user to Azure services, I would like to confirm if my understanding of the process is accurate. My proposed process involves the user accessing the API through a link using their subscription key and being redirected to a HTML page integrated with Azure AD B2C's login system. Once the user submits their login information, a JWT token is sent to the API's backend to validate the user, and then the user can access the API's services. Could you please confirm if my proposed process is correct or provide me with a clear understanding of how I can achieve my desired outcome? Thank you.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,285 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,137 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pramod Valavala 20,656 Reputation points Microsoft Employee
    2023-07-05T15:24:44.0533333+00:00

    @hampton123 Yes. That is a valid approach.

    But do note that this is something you need to implement. The Azure AD B2C settings in Azure API Management are only for the Developer Portal experience.

    When accessing the API from your applications, you would need to take care of the authentication process and sending the tokens along with the requests to your API. This would have to be implemented as part of your application.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.