

The app registration process generates an application ID that uniquely identifies your web API. The registration exposes the web API permissions (scopes). The web API registration enables your app to call a protected web API. The app registration process generates an application ID, also known as the client ID, that uniquely identifies your app.

The redirect URI is the endpoint to which the user is redirected after they authenticate with Azure AD B2C. During app registration, you specify the redirect URI. The single-page application (Angular) registration enables your app to sign in with Azure AD B2C. To enable your app to sign in with Azure AD B2C and call a web API, you must register two applications in your Azure AD B2C tenant: The refresh token is used to acquire a new access token. The access token allows the user to call protected resources, such as a web API.

The user opens the app and selects Sign in.The sign-in flow involves the following steps: MSAL is a Microsoft-provided library that simplifies adding authentication and authorization support to Angular SPAs. This Angular sample uses MSAL Angular and the MSAL Browser. OpenID Connect (OIDC) is an authentication protocol built on OAuth 2.0 that you can use to securely sign in a user to an application.
ADAL LIBRARY ANGULAR DIRECT URL HOW TO
This article uses a sample Angular single-page application (SPA) to illustrate how to add Azure Active Directory B2C (Azure AD B2C) authentication to your Angular apps.
