Hot answers tagged

3 votes
Accepted

Correct way to Sign out a user programmatically

As per the Sitecore documentation, the AuthenticationManager.Logout() method does everything automatically. When a user signs out from an external identity provider, Sitecore Identity redirects the ...
Sumit Bhatia's user avatar
  • 4,472
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
2 votes
Accepted

Modifying session timeout for content authors not working

I found the solution to this by updating two values in the following file in the identity server. wwwroot\<your-identity-server>\sitecore\Sitecore.Plugin.IdentityServer\Config\identityServer.xml ...
Sumit Bhatia's user avatar
  • 4,472
2 votes

How to extend the existing login process

I think you need a processor in the loggedin pipeline. This should be executed after each login. <processors> <loggedin> <processor mode="on" type="...." ...
Gatogordo's user avatar
  • 19.8k
2 votes
Accepted

How to enable custom hashing algorithm on identity server?

You need to create a new Identity Server plugin. I used Sitecore.Plugin.Authentication.SameSite as an example. Duplicate the folder sitecore\Sitecore.Plugin.Authentication.SameSite and give it a new ...
Mark Gibbons's user avatar
  • 5,382
1 vote

How to extend the existing login process

Your SaveAuditLog method is not triggered due to the pipeline/processor execution order. If you check with /showconfig.aspx, <owin.cookieAuthentication.signedIn> pipeline related processor gets ...
Sumit Helaiya's user avatar

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