3 votes
Accepted

How to prevent multiple sessions from same user

Create a new processor to validate a single session on <owin.cookieAuthentication.signedIn> pipeline, if the same username is already logged in on other devices, we kick out the session and then ...
Gaurav Agarwal's user avatar
1 vote

Sitecore 10.3.1 - Could not find property 'clearroleswhensignin' on object of type: Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider

Took a look in ILSpy and it looks like there's a typo in the property name. It's actually "clearroleswhensingin" Solution: Change your config patch to <clearroleswhensingin>false</...
sitecorepm's user avatar
1 vote
Accepted

Unable to login virtual user from sitecore when identity server is enabled

Im wondering if it is something to do with the way you are enabling/disabling identityserver? Assuming you are using code similar to the below to log the virtual user: User virtualUser = Sitecore....
Dean OBrien's user avatar
  • 1,358
1 vote

Sitecore XM Cloud Error: User is locked out

If you have a sql management studio or something similar, please follow this steps. First find your docker network by: docker network ls then find out the IP of the Sql server using the docker ...
Ghodrat Ashournia's user avatar
1 vote
Accepted

How can create site specific virtual user for multi site implementation in Sitecore

You should use separate security domains for each of the sites. Instead of using AuthenticationManager.BuildVirtualUser("extranet\\" + Email, true); You should use for site1: ...
Marek Musielak's user avatar
  • 23.1k

Only top scored, non community-wiki answers of a minimum length are eligible