New answers tagged

0

The suggestions mentioned in the comment didn't work for us. So, instead of defining username in UserBuilder, we added a method with below code that is getting called from our Login Action - string userName = $"{Context.Domain.Name}\\{userId}"; Sitecore.Security.Accounts.User virtualUser = AuthenticationManager.BuildVirtualUser(...


0

Here the response from Sitecore support: According to the investigation performed, the App.MapWhen cannot be used in this method, since it implies direct interaction with OWIN middleware and bypasses federated authentication layer. Thus, implementation of your desired functionality would require a lot of customization and, unfortunately, falls out of scope ...


Top 50 recent answers are included