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
- [ ] bug report -> please search issues before submitting
- [ x ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
It's about adding a phase 1.5 to the tutorial to show how to sign-in users with social identities or local identities with Azure AD B2C
In the library, add a StartupB2Helper.cs file containing a StartupB2CHelpers class similar to StartupHelpers providing the method public static IServiceCollection AddAzureAdB2CAuthentication(this IServiceCollection services, IConfiguration configuration) which would:
jmprieur
changed the title
Tutorial Phase - 1.6. WebApp signs-in users with local or social identities (B2C)
Tutorial Phase - 1.5. WebApp signs-in users with local or social identities (B2C)
Jun 13, 2019
@TiagoBrenck
assigning this issue to you. Ping me if this is not clear. The work (given that most of the code is now in ASP.NET core directly) should be minimal.
This issue is for a: (mark with an
x
)It's about adding a phase 1.5 to the tutorial to show how to sign-in users with social identities or local identities with Azure AD B2C
Repro-ing the issue
Go to 1-WebApp-OIDC/1-5-B2C
Expected behavior
A sample is available to explain how to sign-in users to the Web App using Azure AD B2C.
Actual behavior
The directory is empty
Possible Solution
It would be good to:
Note that that sample is a bit old (ASP.NET Core 2.1), and since then, classes such as Azure AD B2C Options, etc ... are available part of ASP.NET Core. (https://github.com/aspnet/AspNetCore/tree/master/src/Azure/AzureAD/Authentication.AzureADB2C.UI/src)
It might be good to:
StartupB2Helper.cs
file containing aStartupB2CHelpers
class similar toStartupHelpers
providing the methodpublic static IServiceCollection AddAzureAdB2CAuthentication(this IServiceCollection services, IConfiguration configuration)
which would:Maybe have a new method for the OpenIdConnect code which is the same for AzureAD B2C and Azure AD v2.0 (a lot)
Additional context/ Error codes / Screenshots
Good ideas in the B2C sample should be brought back as well in the AAD tutorial (for instance logging ?)
The text was updated successfully, but these errors were encountered: