Using claims-based auth alongside EPiServer regular auth

Vote:
 

Hi.

I have a working EPiServer solution where I want to incorporate logon for visiting users. This must be done in Azure AD B2C, with a claims-based approach.

This brings forth quite a big problem. I have to set authentication mode to "None" in web.config, which results in me no longer being able to log in through the EPiServer UI.

The purpose for a user logging in (through Azure) is to provide them with personalized blocks and pages.

The purpose for editors/admins logging in (through EPiServer) is to edit and create content.

Is it possible to keep both types of login functionality?

- Daniel

#150529
Edited, Jun 21, 2016 15:58
Vote:
 

Possible? Sure. Recommended? Probably not :)

You can read more about federated security here

http://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/9/Security/federated-security/

If you still want to use the old approach you can read my collegues blog about creating an custom owin membership provider

http://www.mogul.com/om-mogul/blogg/owin-membership-and-role-provider-for-episerver

Unfortunately, SSO is not short for simple sign on....adjust your time estimations accordingly :)

#150531
Jun 21, 2016 16:11
Vote:
 

Hi Dclemmes,

Yes, you can. Look into an example here.

You have to remove the old membership provider, but you can handle login as normal as long as you create groups/roles in B2C and use implement OWIN pipline in Episerver.

Cheers,

Svein

#181321
Aug 16, 2017 12:30
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.