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
{{ message }}
Repository navigation
WiseJ 3.5 Pages Application - How to authenticate with Azure B2C? #4495
I wondering if there is an example available that shows how a WiseJ 3.5 Pages Application would go about authenticating with Azure B2c. Ideally I'd like to use Microsoft Identify nuget packages directly and not some other poorly supported nuget packages like DotNetAuth.
My Azure B2c tenant is setup and I use it to authenticate with native apps and asp.net mvc applications. Getting it to work with a WiseJ 3.5 Pages application is proving to nebulus. It appears that the WiseJ Pages application is an asp.net core application. However, it is single page so you cannot use the mvc callback approach, so does that mean the authentication needs be done via the javascript libraries? I've been crawling through the examples mentioned on this forum and others I found online to find the information that I'm looking for. After several frustrating days I'm here, hoping that someone has an example that demonstrates how this can be done.
Activity
itg-assistant commentedon Jun 16, 2026
Alaa (ITG) answered 2024-03-07 14:13:44 UTC
Hi Tim,
I have attached a sample for Azure B2C authentication in a Wisej.NET application.
P.S: It works for both .NET Framework and .NET Core, while the .NET Core implementation is native, the .NET Framework one uses Owin as a middleware!
Best regards,
Alaa
itg-assistant commentedon Jun 16, 2026
Tim answered 2024-03-07 22:35:20 UTC
Thank you for the example. This was very helpful.