WiseJ 3.5 Pages Application - How to authenticate with Azure B2C?

Answered
0
0

Hello,

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.

Tim

  • You must to post comments
Best Answer
0
0

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

//

  • Tim
    • Tim
    • Mar 7, 2024 - 10:35 pm
    Thank you for the example. This was very helpful.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.