Skip to main content

Questions tagged [federated-authentication]

All questions related to Federated Authentication in Sitecore

Filter by
Sorted by
Tagged with
1 vote
1 answer
150 views

State is not getting maintained after federation authentication for facebook

This is my custom provider class: public class Facebook : IdentityProvidersProcessor { public Facebook(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ...
1 vote
2 answers
295 views

Sitecore CD Pages with anonymous rights are redirecting to login page

We have integrated OnPrem ADFS for authentication with OnPrem Sitecore setup. ADFS is used to authenticate both sitecore CM and CD. We have allowed some of the pages for anonymous user(from Security ...
0 votes
1 answer
98 views

hide external login button on sitecore login screen

I have enabled federated authentication for Sitecore frontend website. But now I see external login button(login with google) on the sitecore login page. How can I remove this button from the sitecore ...
1 vote
2 answers
1k views

Could not create instance of type: <my implementation of IdentityProvidersProcessor> No matching constructor was found

I'm using Sitecore 9.1 and following Sitecore's guide in implementing Federated Authentication. I am implementing Sitecore.Owin.Authentication.Pipelines.IdentityProviders.IdentityProvidersProcessor, ...
1 vote
1 answer
47 views

Pages behind authentication not being redirected to azure AD

I've been following this guide to enable SSO on our CM/CD instances to create virtual users via AzureAD. From what I can see it all looks fine but the redirect is not firing when a page is set to deny ...
0 votes
1 answer
1k views

Unable to resolve service for type 'System.Collections.Generic.IList`1[Client.Feature.Membership.Services.FacetUpdaters.IContactFacetUpdater]'

I'm trying to replicate the federated auth from habitat using the Facebook example, and parlay that into auth with Salesforce. I can't get around this dependency injection error though. Starting with ...
1 vote
1 answer
80 views

Add IdentityServer back to Sitecore 10.1.2

We had sitecore local dev instance using /sitecore/login without using identityserver and we need to add the identity server back. Here are steps I did in one VM and it worked fine: Get the https://...
0 votes
1 answer
207 views

Sitecore 9.3 OKTA login not working for few CMS users

Currently, we are using Sitecore 9.3. We have configured OKTA for CMS user login. Few users are able to successfully login to CMS and few users are not able to login getting the "504 Gateway Time-...
0 votes
1 answer
261 views

Logout mechanism not fully effective

We are using Sitecore 9.3. We have login and logout features in our site using Azure AD B2C. During logout, we are performing below operations in that order - AuthenticationManager.Logout() We send ...
3 votes
2 answers
479 views

Sitecore 9 Federated Authentication mapping with existing users

I tried to integrate Sitecore 9 with Azure AD. It was successful. I have used persistent user setting therefore user is automatically created. Unfortunately, in old system some users already existed. ...
2 votes
2 answers
724 views

Logging onto third-party system with SAML SSO

I'm working to integrate my Sitecore 9.1.1 instance with a third-party service (an LMS) that uses SAML SSO. This is a one-way integration, where the front-end user logs into the site with the usual ...
1 vote
2 answers
419 views

Implementing Federated Auth for Sitecore 9.2

Trying to implement Federated Authentication with ADFS for Sitecore 9.2 CM Instance, Following this blog post - http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-2-google-...
1 vote
1 answer
382 views

Issues with IdentityProvidersProcessor Sitecore Federated Autentication in multisite architecture

We have 5 websites (e.g. A, B, C, D and E) and with separate clientId in Auth0. We have relevant IdentityProvidersProcessor for these applications. Sometimes when cms is left idle, upon reloading the ...
0 votes
1 answer
204 views

Sitecore Federated Authentication Pass query strings to External Login Provider

Wondering how can query strings be passed to an external login provider. I am using Sitecore (9.2) Federated Authentication for an external user's login. When I debug, I see the current request has ...
0 votes
1 answer
54 views

Configure Domain per site in external sign-in using Sitecore federated authentication

I have implemented external google signin using Sitecore federated authentication referring this blog . Now I want to set domain based on website which the user browses. For Example, if the user ...
0 votes
1 answer
441 views

401 unauthorized on POST to /identity/externallogin

I am trying to enable federated authentication in my Sitecore 9.3 solution to login using Google Authentication. I have configued Sitecore more or less like this: https://blog.nikkipunjabi.com/2018/02/...
1 vote
1 answer
59 views

"Unable to reach an external identity provider." Error While Calling API

I have created an API to get Sitecore user details, in a request it needs to pass the user ID and it will return user details which is working fine. I have deployed this API on CM. Also, there are ...
1 vote
2 answers
60 views

Unable to patch DefaultExternalUserBuilder in Sitecore 10.1.2

Our team is using Sitecore 10.1.2 with local environment hosted on developer machines, and deployed environments with K8s and Docker with Coveo serving all of those environments. Only in our deployed ...
2 votes
3 answers
443 views

Migrate existing Owin implementation from pre-Sitecore 9

I am migrating an app from Sitecore 8 to 10. The existing app was built with .Net 4.6.1 and uses Microsoft AspNet Identity and Owin for user access. The Startup class uses the OwinStartupAttribute ...
2 votes
0 answers
34 views

Access Denied Error After Configuring "Require Login"

I'm having a problem with Sitecore 10. I made a page that should only be seen by people who log in. I used the require login setting for this page from the security editor. But it's not working the ...
2 votes
1 answer
101 views

Federated Authentication with Space in Site Name

I have several SXA sites with spaces in the site name. When enabling federated login for a site containing a space in the name I get the following error on the redirect. "Site from query string ...
1 vote
1 answer
75 views

How to get a custom claim data back from Sitecore Identity server

I am working with Sitecore 9.3 and SitecoreIdentity Server 7 I have created a custom claim in an Okta authorization server called user_login, this value appears when I preview the token in the tool ...
0 votes
0 answers
57 views

login not working in CD environment

I have developed login functionality using Sitecore federated authentication which includes user registration, reset & forgot password, update password etc. the functionality works fine in CM ...
1 vote
1 answer
114 views

ADFS login challenge not triggered on media library deep links

We are currently using Federated Authentication with ADFS. The Identity Provider is OpenConnect. Everything is working fine but now we came across a Problem below: If you are not logged in and you ...
0 votes
1 answer
236 views

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

I am setting up sitecore identity server to pass through authentication to Okta for some of our portals. However some of our portals already have a manual authentication approach taken which logs in ...
1 vote
0 answers
928 views

.aspnet.cookie is not set after Azure AD B2C successful authentication

We have an ASP.NET webforms application with Sitecore 9.0.0 Initial release, and we want to use Azure B2C as an external identity provider for our external users. We created the new authentication ...
2 votes
1 answer
213 views

2 SXA sites on same Azure app service need different federated authentication providers

I have 2 SXA sites running on the same Azure app service. Both sites require Okta federated authentication (OIDC). Is it possible to have more than one IdentityProvidersProcessor (1 for each SXA site ...
0 votes
0 answers
37 views

Sitecore user profile Custom Properties not persistent - Sitecore XP-10.0.0 (Initial Release)

We are currently using Sitecore 10.0.0 version . We have a Federated authentication module for user SSO. In our authentication module, we set claims after successful login and send that information to ...
0 votes
0 answers
86 views

Can users on Okta be mapped to existing users in Sitecore 10.2?

I'm using Sitecore 10.2, and adding Okta as a federated authentication method to login to the Sitecore CM. I have added the Okta login implementation using this link as a reference, and tested logging ...
2 votes
2 answers
344 views

Federation Authentication with KeyCloak: Bad Request Issue

I am using Sitecore 10.1.2 and we have integrated Key Cloak on the CM server, also we have disabled the Sitecore Identity server. Below is the code:      protected override void ProcessCore(...
4 votes
0 answers
311 views

What is Owin.Log log file for?

I've setup federated authentication in Sitecore 9 and can log in with my IDP. There is an Owin.Log file in the logging directory but it is always empty. I did some research but was unable to find what ...
3 votes
1 answer
1k views

Federation Authentication Error: IDX21323: RequireNonce is '[PII is hidden]

In Sitecore 10.1.2, I am integrating with Keycloak in Sitecore CM using federation authenticator Below is my code: protected override void ProcessCore(IdentityProvidersArgs args) { Assert....
3 votes
1 answer
248 views

Federation Authentication Error: You do not have access to the system. If you think this is wrong, please contact the system administrator

I am using Sitecore 10.1 and I want to do federation authentication on the CM server. When I am clicking on "Log in with keycloak" button it is redirecting to Keycloak URL and after entering ...
2 votes
1 answer
85 views

Custom identity provider issue on Chrome

I had done SSO authentication which is working locally and on-premise, when I deployed on AWS, it was not working on Chrome but working on Mozilla. public class ProjectIdentityProvider : ...
1 vote
0 answers
247 views

Logout for External Provider

I am using Sitecore 10.2 and I have set up federated authentication for the end user, below are the steps: On the public website www.website.com, there will be a login button When the user will click ...
2 votes
2 answers
693 views

Sitecore Federated Authentication unable to login Unable to get and an external login info

I am using Federated Authentication with Auth0. Right after login, I get the following error: ERROR [Sitecore.Owin.Authentication.Pipelines.Initialize.HandleLoginLink] Unable to get and an external ...
1 vote
1 answer
247 views

How can I deploy custom config files to an Identity Server container?

We'd like to enable the Sitecore Federated Authentication on Sitecore 10.2 with containers. I've updated the ClientId, TenantId, claim transfermations, etc... in different xml files. But I don't know ...
2 votes
2 answers
439 views

Sitecore 10.2 Auth0 Login with post registration form: Cannot retrieve claims from User.Identity

I have integrated Auth0 as an Owin identity provider so that in the future I can manage website users via the Auth0 platform. After registration the user should be redirected to a form asking for some ...
2 votes
1 answer
139 views

SXA Federation Authentication via Identity Server

I am working on federation authentication via the Identity server in Sitecore 10.2 SXA. Created below class public class DemoIdentityProvider : IdentityProvidersProcessor { private ...
1 vote
1 answer
201 views

Sitecore 10.0 IdentityServer4 How do I update Microsoft.Identitymodel.Tokens.Saml from 5.2.0 to 5.2.4?

We are using Sitecore 10.0 with IdentityServer4 trying to get SustainSys Saml2 to work. SustainSys Saml2 uses Microsoft.Identitymodel.Tokens.Saml 5.2.4 but Sitecore 10 IdentityServer4 uses an ...
0 votes
0 answers
849 views

AuthenticationManager Logout does not trigger external OWIN middleware to logout until subsequent request

We have setup Auth0 as an external identity provider successfully where login works just fine for our public website. The sitecore authoring server uses the default Sitecore Identity Server. For the ...
3 votes
0 answers
397 views

Sitecore OpenIdConnect ExternalUserBuild not being called on 2nd Login

In my Sitecore 9.1.1 instance I've almost successfully set up Federated Authentication. The problem I'm currently trying to solve is the following: The Login Button authenticates my user via Keycloak ...
8 votes
2 answers
3k views

Unsuccessful login with external provider

I have setup federated authentication for my Sitecore 9.1 website, to allow end users to login using Azure B2C AD. Our website is following Helix architecture. This is my code: Portal.Website.config: &...
1 vote
2 answers
210 views

Federated authentication for external sites interfering login inside the cms

I am using federated authentication to login/signup to the websites in multi sites architecture. No issues for the websites but for the cms when I open cmsurl.com/sitecore it takes to the website's ...
0 votes
1 answer
179 views

sitecore federated authentication GetOwinContext() doesn't have authenticated user info

I am using Federated Authentication for external users login (Sitecore version 9.2) After the user is authenticated, User.Identity has is external\anonymous and doesn't have the claims returned by the ...
5 votes
1 answer
251 views

Sitecore JSS Federated Authentication in Production Environment (Headless mode)

We are building a DXP solution for our customers that requires Federated Authentication (via Azure AD). The solution is built on top of Sitecore JSS using Angular. The documentation related to ...
0 votes
1 answer
73 views

Enabling federated authentication using a feature flag in Code

We have managed to configure our Auth0 custom identity provider in our solution. Migrating from forms authentication however will take a bit more effort than just a bunch of config. In order to avoid ...
0 votes
1 answer
860 views

Federated Authentication with Azure AD - Sitecore 9.3 - .Aspnet .Cookies not getting created

We are using Sitecore version 9.3 for our solution. For our CD instance (the public-facing website), we need to use Azure ADB2C with OpenIdConnect for authentication. And for our Sitecore CM instance, ...
3 votes
2 answers
646 views

Does Sitecore 10.0.1 support SAML with Okta?

I am using Sitecore 10.0.1 on the Azure App Services platform. I would like to implement federated authentication using saml. I was only able to find documentation using open id connect. Does ...
0 votes
2 answers
543 views

Error: Unsuccessful login with external provider - Sitecore 10.1 integration with Google SSO

We are trying to integrate google single sign on with sitecore 10.1 (only Sitecore cms login). When we login using google, for the first time we get an error "Error: Unsuccessful login with ...