Questions tagged [login]

For questions related to login in Sitecore, covering questions about login using Sitecore membership and membership integration, login to the Sitecore Client or admin pages, etc.

Filter by
Sorted by
Tagged with
12
votes
3answers
1k views

MVC equivalent of SecurityCheck Pipeline Processor

What is the pipeline processor responsible for redirecting the user to the login page if they do not have access to the page being loaded? In a Sitecore webforms solution, this is handled by the ...
8
votes
1answer
260 views

How to make calls to sdn.sitecore.net startpage.aspx over HTTPS?

I noticed that when I access the login page, the Edge browser logs that HTTPS security is compromised. Is there a way to change the url to HTTPS?
7
votes
1answer
2k views

Login programmatically in Sitecore 8.2

We are upgrading from 6.4 to 8.2 and we have some custom login pages for several clients. I used to be able to do something like this: if ( (System.Web.Security.Membership.GetUser(usernameBox.Text)....
7
votes
1answer
1k views

How to get Sitecore.Context.User after redirect from Azure ADb2c login?

I am on Sitecore 9.1 Initial Release and SXA 1.8. Implemented a custom processor for Azure ADB2C Login. I can login perfectly and fetch the claims and stuff. But on redirect to /myaccount page , I ...
7
votes
0answers
468 views

How to enable custom hashing algorithm on identity server?

I have sitecore 9.1 and I added pipeline which add new hashing algorithm (pbkdf2 implementation from Zetetic team with 5000 iterations) to CryptoConfig and changed hashAlgorithmType to pbkdf2 in ...
6
votes
2answers
848 views

How to deep link into Experience Editor so that user is redirected after login?

We have a case where we need to notify approvers when a page is sent for approval. In the notification email, I want to include a link so that the approvers can go directly to the page in the ...
6
votes
1answer
572 views

Restricting access to particular page returns 404 instead of redirecting to login

I'm trying to restrict access to a particular page, I've already read everything possible on the matter but instead of redirecting to login page Sitecore is returning a 404. I've set the loginPage="/...
6
votes
1answer
180 views

8.1 stopped working after content node deletion. NullReferenceException, Powershell Pipeline Issue?

8.1 won't let us log back in. While attempting to delete a node with ~16k sub-items we couldn't tell whether 8.1 was frozen or still trying to delete. We restarted site/app pool & now can't log in....
5
votes
1answer
1k views

Custom Error message when a User account get locked

In Sitecore 8.1 when a user whose account has been locked tries to login it says Your login attempt was not successful. Please try again. instead of something like Your account has been ...
5
votes
1answer
2k views

How to use the AntiForgeryToken with a custom log-in form? [closed]

There may be several forms on any given page of our site. Distinguishing between post requests from these forms is implemented using ValidateRenderingToken. There is also AntiForgeryToken / validation ...
5
votes
1answer
344 views

Custom change password page for Sitecore 8.1 - Password expiration

I am trying to customize password expiration in Sitecore 8.1. As mentioned in this article I have added a pipeline before the LogingIn pipeline to check whether the time span for password ...
4
votes
4answers
4k views

Unable to login to sitecore CM [closed]

I am seeing this strange behavior in sitecore CM. Recently, I am not able to login to sitecore. When I use the correct username and password, sitecore just refreshes and the login page is shown again. ...
4
votes
1answer
171 views

Why is SignInProcessor triggered twice?

I've created a custom pipeline to process the login to sent 2FA token. But somehow the pipeline is triggered twice. It doesn't happen with LoggingInProcessor (Used before Sitecore 9). Anyone know why? ...
4
votes
1answer
1k views

Sitecore Single Sign On

We have a requirement for using Single Sign On. So, basically, we have an application that is developed in Sitecore. Anyone who logins to our network through windows credentials should be able to ...
3
votes
5answers
520 views

Locked out Sitecore users cannot reset their password: Sitecore Password Recovery

I did implement a basic Sitecore password recovery functionality following Enable Sitecore Password Recovery functionality Which works fine. However, if the Sitecore user is locked and the user clicks ...
3
votes
1answer
930 views

How can I use xDB contact to login users?

I'm tracking visitors information into my mongoDB and I can identify them as contacts (through the email). I'm now trying to have a login (with password) area where users can login and see some ...
3
votes
1answer
1k views

Azure AD B2C login for endusers

We want to allow our endusers to login to our website using an Azure B2C AD account. I have only been able to find examples of how to add federated authentication for Sitecore accounts I have added ...
3
votes
0answers
210 views

Resetting admin password with Sitecore 9.1.1 and Identity Server after SHA512 change [duplicate]

I'm going through the security hardening steps on a new, local instance of Sitecore 9.1.1 with identity server. I made the SHA512 change in the Sitecore web.config, and I ran the database script to ...
3
votes
1answer
275 views

How to use the Stormpath (or similar) OAuth provider to authenticate external users?

How can we replace the existing membership provider in Sitecore with an OAuth- based provider (like stormpath.com)? Further details: We are designing a solution in which the external users are stored ...
2
votes
1answer
132 views

Make Azure AD Login Page The Default Sitecore Login Page

I'm using sitecore 9.3. Is there a way to redirect to AD login page instead of the sitecore identity server default login page? This Page: instead of the below page:
2
votes
2answers
84 views

How to sign in to a single CM node in a load balanced environment

We have a load balanced v9.3 CM environment with 3 CMs and 1 Identity Server. The load balanced URL is https://test-cm.myclient.com/sitecore. The client would like to also be able to sign in to a ...
2
votes
1answer
588 views

Logged user is always sitecore\Anonymous during processor in SC 9.1

I'm using Sitecore 9.1, thus an identity provider. I have a custom domain named aba and I'm logged in Sitecore Administration Console using an aba\hsantos user. Then I have this processor which is ...
2
votes
0answers
27 views

Sitecore10 .Net Core Getting Started Template Architecture for Creating Action Methods

I am quite new to Sitecore 10, .Net Core , Docker, so asking this silly question :) I have followed the Sitecore 10 .Net core getting started template and able to create base setup. Now I understand ...
2
votes
0answers
210 views

User externallogin redirect to public host after login

We have azure appservice for CD witch can be access through private url and public url. Private url is accessible just from internal network, and public url should be used by customer users. Customer ...
2
votes
0answers
107 views

Preview and edit links causes ERR_TOO_MANY_REDIRECTS if not logged in

Quirky thing that I've noticed while working on a client's CMS. When I send them preview links in the format of https://campaigns.redacted.com/?sc_itemid=%7B0EA000BF-8F51-482C-9F67-6AE044B64F2F%7D&...
2
votes
1answer
193 views

YSOD When trying to open the login page - "No process is on the other end of the pipe" [closed]

I have 12 different instances (test purpose only) using this same SQL Server. All of the sudden, one of those (which was working fine until yesterday) started giving me this error when I try to open ...
2
votes
0answers
136 views

Social Login Not Working

We have Sitecore 8.0 with Update 5. Social Login used to work fine till yesterday. Its not working today. Is it because it is using Graph API 2.2 and it is obsoleted on 27th March? What is the better ...
1
vote
1answer
207 views

Can logins in Sitecore be configured to be Case sensitive?

Is there any setting out of the box that allows Sitecore logins to differentiate between capital and lowercase letters so the username has to match exactly?
1
vote
3answers
611 views

Can SC_TICKET* keys be purged from the Properties table, and have tickets been moved elsewhere?

I'm troubleshooting an issue with slow logins on a Sitecore instance. As part of that investigation I've found a number of posts - such as Sitecore client and logon is very slow (properties table ...
1
vote
2answers
734 views

Track Sitecore Login

I need to pull up how many users logged in to Sitecore CM per month (for the past 6 months). Is there a way I can do this through Sitecore or maybe in core db, which table should I look at?
1
vote
1answer
321 views

Not able to navigate to return url from SXA login component

I have secured a Sitecore SXA page on role basis and able to redirect to login page (which is using SXA login component) upon direct access of the page [http://abc/registration/login?returnUrl=%...
1
vote
1answer
930 views

Unable to access Launchpad following Sitecore 8.2 Install [closed]

I'm trying to debug a 8.2 install. The databases have been deployed to Azure using the DACPAC files and the client installed using the EXE. I can see the vanilla website homepage and I can see the ...
1
vote
1answer
211 views

Security changes from 6.2 to 8.2

In the process of upgrading a site from 6.2 Update 1 to 8.2 Update 1, it appears the accounts of users are no longer able to log in. The client had a separate "security" database, which looks like a ...
1
vote
2answers
101 views

protected languages -> Redirection

I have requirement i.e. I have some protected languages like de-DE (German), when user browsing these language ex: http://www.xyz.com/de-DE then he must redirect to login page. Could you please let ...
1
vote
1answer
313 views

Response headers Error when trying to login to sitecore

I am getting the below exception when trying to login to Sitecore 8.2. I have been trying to setup new environment with Sitecore 8.2. I keep getting redirected to the login page and no error on the UI ...
1
vote
3answers
1k views

Sitecore restrict users from accessing the page using Sitecore security

I have restricted the the access for the role "AdminUser" in the Access viewer as above. Later in the code when I am accessing using the below code try { if (Sitecore....
1
vote
1answer
13 views

Virtual User causing error with AntiForgeryToken, The provided anti-forgery token was meant for user "extranet\user", but the current user is ""

My site uses SSO for login so most site users do not have Sitecore accounts, as such when a user logs in a virtual user is created: protected void CreateVirtualUser(SSOCentralUser user) { ...
1
vote
0answers
72 views

Random Sitecore Logout Issues

Running Sitecore version 8.1 Hello, I've been trying to figure out this issue for a while now and was curious to see if anyone has experienced something similar. Issue: Content publishers get kicked ...
1
vote
1answer
83 views

Restrict access to site on subdomain

I have backoffice functionality that should require Sitecore identity server logins with specific permissions/roles. It is hosted on its own Sitecore-site definition and subdomain, for example ...
1
vote
0answers
144 views

Sitecore login redirects to website and not Launchpad

We are using azure alias URL "https://abc.com/sitecore/login" to access our prod CM site "https://abc-1001-cm.azurewebsites.net/sitecore/login". Earlier we had Sitecore 9.0.1 ...
1
vote
0answers
40 views

Sitecore Virtual login and accessing userProfile.context during layout service execution

we are working on custom personlization rules with user data available outside sitecore. App is developed in jss in ssr mode. With sitecore login setting up virtual user context when user logged in to ...
1
vote
0answers
44 views

Can't call login-page from JSS app

I tried to follow this guide to login from the JSS-app, but I get an error when posting: Access to XMLHttpRequest at 'https://myApp/sitecore/api/ssc/auth/login?sc_apikey={APIKey}' from origin 'http://...
1
vote
1answer
96 views

Is logging into Sitecore from another computer on the same network possible for an XP0 installation?

I have installed Sitecore 9.2 XP0 Single on a server and I'm trying to log in to the instance as admin from a different computer. The home page of the Sitecore instance loads fine at the address http:/...
1
vote
1answer
170 views

Sitecore domain and sub domain authentication

Parent Site Url: www.site1.com Sub Domain Url: www.abc.site1.com We have the requirement like create the sub domain(abc.site1.com) in separate instance and use the login & registration ...
1
vote
0answers
66 views

Users forced to log into Sitecore to go to home page

I've encountered an oddity related to preview/edit mode that could totally be by design, but is really annoying some of the user base (including myself). When a user logs into Sitecore and then opens ...
0
votes
1answer
378 views

Access denied page in Sitecore when using requireLogin

Our current site (Sitecore 9.1) configuration looks like this: (simplified for readability) <site name="the-website" patch:after="site[@name='modules_website']" language="en" ... ...
0
votes
1answer
683 views

Sitecore login page returns 403 - Forbidden: Access is denied after HTTPS is enabled

After enabling HTTPS on a Sitecore website that is hosted on the AWS cloud, we are unable to access the Sitecore login page. https://www.[domainname].com/sitecore which returns 403 - Forbidden:Access ...
0
votes
1answer
291 views

Sitecore 9.0.2 with Azure AD B2C System.ArgumentException: idp claim is missing Parameter name: identity

I am working on Sitecore 9.0.2 with Azure AD B2C for authentication of end users. My Configurations are as shown below: <pipelines> <owin.identityProviders> <!-- This is the ...
0
votes
2answers
3k views

Sitecore redirects to no-access page instead of login page

I have the following site configuration for my Sitecore 9.1 site: <site name="the-website" patch:after="site[@name='modules_website']" language="en" ... ...
0
votes
1answer
816 views

How to login sitecore User using Active directory credentials [closed]

when the CM link is browsed users should be automatically logged in to the CMS.How do i do this ?which pipeline should i over ride .