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 ...
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</...
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....
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 ...
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:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
authentication × 91federated-authentication × 18
login × 13
identity-server × 10
security × 9
azure-ad × 8
sitecore-api × 5
pipelines × 5
session-state × 5
multisite × 4
user-management × 4
webapi × 3
membership-provider × 3
owin × 3
sxa × 2
sitecore-client × 2
sitecore-commerce × 2
jss × 2
configuration × 2
content-delivery × 2
cookies × 2
active-directory-module × 2
virtual-user × 2
.net × 2
solr × 1