Skip to main content

Questions tagged [federated-authentication]

All questions related to Federated Authentication in Sitecore

Filter by
Sorted by
Tagged with
12 votes
2 answers
2k views

How can I get SXA login working with my Federated Authentication via IdentityServer?

Background We're building an internal site where all users are required to be authenticated. I've configured IdentityServer to connect to the organisation's Azure AD and this is working fine. When I ...
Mark Cassidy's user avatar
  • 25.3k
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: &...
Hos's user avatar
  • 884
7 votes
2 answers
2k views

Mapping property in Sitecore 9 federated authentication

I am trying to implement federated authentication using google in my Sitecore 9 application (CMS not website). I am bale to login to Sitecore using GoogleOAuth2Authentication and i am using persistent ...
rdhaundiyal's user avatar
7 votes
1 answer
2k views

Sitecore Logged In Pipeline in Identity Server?

I've created a Two Factor Authentication. It's working by adding our custom processor before Sitecore.Pipelines.LoggedIn.Ticket. But now in 9.1 with Identity Server, it won't be triggered unless I ...
purnadika's user avatar
  • 367
6 votes
1 answer
4k views

Federated Authentication with ExternalCookie

I have the federated authentication working in Sitecore 9 with a custom external provider, and I see the ExternalCookie being set. However, when I make another request to a secured area (a controller ...
Watson's user avatar
  • 207
6 votes
1 answer
579 views

SAML 2 - Use Identity Server or implement directly in OWIN Middleware?

I am thinking through a federated authentication approach requiring the use of a SAML 2 Identity Provider. The same Identity Provider infrastructure will be used for both the Sitecore admin and ...
ccaplette's user avatar
  • 111
5 votes
1 answer
770 views

Getting an instance of BaseCorePipelineManager

In the Sitecore doc Configuring Federated Authentication there are instructions to generate the URL links to initiate Federated Auth -- the lines are: using Sitecore.Pipelines.GetSignInUrlInfo; /* [.....
Watson's user avatar
  • 207
5 votes
1 answer
1k views

Federated authentication with OpenIDConnect gives "Unsuccessful login with external provider"

In my Sitecore 9.1 installation I'm trying to use Federated Authentication and have almost successfully set it up. When I click the "log in" button on my public website I'm redirected to the ...
TheHvidsten's user avatar
  • 1,004
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 ...
monkey.dsc's user avatar
4 votes
2 answers
162 views

Is Virtual user concept available in XM version?

One of the client is having an XM license and they need to implement the virtual user concept of the Sitecore do they need to update the existing licence or this feature is already supported with the ...
Sai Raj R's user avatar
4 votes
2 answers
1k views

Azure AD user not showing assigned roles/profile in user manager

I have a user coming in from Azure AD (following this example to start: http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html). When I use ...
Ken McAndrew's user avatar
  • 5,112
4 votes
1 answer
2k views

PostLogoutRedirectUri with Owin and Azure ADb2C

Can anyone confirm if the Sitecore.Security.Authentication.AuthenticationManager.Logout(); handles the logout from AdB2c IDP as well, as per documentation from at: https://doc.sitecore.com/...
Abhay Dhar's user avatar
  • 1,655
4 votes
2 answers
1k views

Azure AD user groups mapped to one or more roles

Is it possible to have multiple roles when using Azure AD for federated authentication to the CMS? Currently testing this with Sitecore 9.3. I want to be able to assign to the AD user either Public ...
Mark Gibbons's user avatar
  • 5,642
4 votes
1 answer
1k views

Login with multiple Identity Providers at the same time

I've configured a custom Identity Provider based on this info: http://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/ Unsuccessful ...
Jeroen Breuer's user avatar
4 votes
1 answer
252 views

Change OIDC OWIN middleware within same Sitecore site

I have an OpenID Connect Identity Provider Processor for my Sitecore 9.0.1 site which is using federated authentication as described in Sitecore's documentation. I'm also generating the sign-in links ...
Jeroen's user avatar
  • 1,224
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 ...
Jeroen's user avatar
  • 1,224
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 ...
Robert Mroch's user avatar
3 votes
1 answer
2k views

Stuck in redirect loop after external signout with Federated Authentication

We use Federated Authentication in Sitecore 9.1 in order to allow a user to login to the extranet domain through an external provider (Azure AD B2C). When configuring the sign out part, we followed ...
Nico Grms's user avatar
  • 575
3 votes
3 answers
1k views

OWIN sign-in links only working for SXA sites NOT configured in MapEntry of IdentityProvidersPerSite

On Sitecore 9.0.1 and SXA 1.6 I'm trying to get federated authentication to work for website visitors using OWIN WSFed following this guide in a multi-site SXA solution. I've gotten everything to ...
Mark-Danney's user avatar
3 votes
1 answer
1k views

How can I update Virtual User's role after authenticating via external Identity Provider (Azure)?

Setup: Sitecore 9.0.1 (rev. 171219) Azure B2C External Identity Provider I am using Azure B2C federated authentication provider to authenticate users. Once a user is authenticated via AzureB2C the ...
Sohail Siddiqi's user avatar
3 votes
1 answer
133 views

Item permissions to trigger federated identity

We have configured a new identity provider for Sitecore 9.1 using the documented federatedAuthentication configuration. The identity provider uses OpenID Connect OWIN middleware to authenticate and ...
user avatar
3 votes
2 answers
93 views

xConnect Identify user after Federated Auth login

I am trying to run some xConnect facet/identification code after a user logs in with Federated Auth. But it seems like all the Owin pipelines have no tracker available. And none of the Sitecore ...
Chris Auer's user avatar
  • 13.1k
3 votes
1 answer
989 views

Facebook / Google login for website with Federated Authentication

We have a Sitecore 9 website, where we have set up Federated authentication to login to Sitecore using Facebook and Google. Logging into Sitecore using these social networks is working as expected. ...
Durga Bose's user avatar
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 ...
Swati Gupta's user avatar
  • 3,185
3 votes
1 answer
2k views

Federated Authentication with SAML2 issue

I am attempting to enable SSO on our Sitecore 9.1 (initial release) installation. Our identity provider is Shibboleth which we currently use for several other systems. My strategy was to disable ...
sitecorepm's user avatar
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....
Swati Gupta's user avatar
  • 3,185
3 votes
1 answer
878 views

Identity provider does not respect IdentityProvidersPerSite configuration

I'm working with a multi-site instance running Sitecore 9.2 where I have configured a custom identity provider based on the documentation here https://doc.sitecore.com/developers/92/sitecore-...
Christian Hagelid's user avatar
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 ...
Nadine Lendzian's user avatar
3 votes
0 answers
167 views

Sitecore SXA and Fed Auth - Not picking the right provider

Sitecore Version: 9.1.1 I am trying to integrate SXA with Fed Auth and Azure B2C. I have followed the instructions on this question How can I get SXA login working with my Federated Authentication ...
Michael Edwards's user avatar
3 votes
0 answers
573 views

Sitecore 9.1 and auth0 integration

I am trying to integrate Sitecore 9.1 and auth0 platform. I was following this tutorial for Sitecore 9.0 - https://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-...
Dionis Takac's user avatar
3 votes
1 answer
1k views

Unable to override externalUserBuilder in Federated Authentication implementation [closed]

I have implemented facebook login on my Sitecore site using federated authentication. I am trying to override the externalUserBuilder logic to be able to replace the hashed username in Sitecore with ...
Durga Bose's user avatar
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. ...
Cuong Nguyen's user avatar
2 votes
4 answers
6k views

Using Okta OpenId Connect "A client_id must be provided in the request"

I am trying to use Sitecore 10.0.1, IdentityServer4, with Okta and OpenID Connect. When I click logout I get this error: {"errorCode":"invalid_client","errorSummary":&...
Robert Mroch's user avatar
2 votes
1 answer
1k views

Where is Sitecore.Owin.Authentication.Enabler.config in Sitecore 9.1?

We can find Sitecore.Owin.Authentication.Enabler.config configuration file in App_Config\Include\Examples folder to enable Federated authentication in Sitecore version 8.2. We just need to remove ....
Arvind Gehlot's user avatar
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 ...
fgantt's user avatar
  • 85
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 ...
Brian L's user avatar
  • 81
2 votes
1 answer
486 views

Uncaught SyntaxEditor: Unexpected token Error while accessing Experience Editor using Federated Authentication

I've got federated authentication set up for Azure AD. I am using Sitecore 9.0.1 on Azure App Service. I ran into an odd problem when going into Experience Editor that I can't duplicate with a "local" ...
Ken McAndrew's user avatar
  • 5,112
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 ...
creativeflood's user avatar
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 : ...
Swati Gupta's user avatar
  • 3,185
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 ...
salted's user avatar
  • 123
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 ...
manaslu's user avatar
  • 397
2 votes
1 answer
429 views

How to modify CookieAuthentication options in Sitecore 9?

In Sitecore 9.2, we would like to change some of the CookieAuthenticationOptions, that are used for Authentication. This is the code we would use: args.App.UseCookieAuthentication( new ...
Hos's user avatar
  • 884
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(...
Swati Gupta's user avatar
  • 3,185
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 ...
Swati Gupta's user avatar
  • 3,185
2 votes
1 answer
311 views

Sitecore CD Okta redirection not working with OpenIDConnect

we are integrating OKTA authentication with Sitecore CD. For this we are using sitecore federated auth.we have written custom identifier class and its working fine. Also we have written sitecore ...
Rajendra Patil's user avatar
2 votes
2 answers
325 views

can role mapping with Sitecore can be done with Email ID using Configuration?

We are working on Sitecore 9.2 and need to implement Federated authentication with Azure AD where we will process returned claim, which will return an email, and based on that email we need to check ...
Alivor Tikos's user avatar
2 votes
1 answer
220 views

Federated Authentication in Sitecore 9.3 does not create new permanent user

Federated authentication is successful and changes the user profiles in the sitecore backend, but it does not create a new user, any help?
Sujana's user avatar
  • 97
2 votes
3 answers
645 views

Sitecore Federated Authentication on CM server - remove Login form

I am using Sitcore 9 and have implemented federated authentication on CM server. I need to remove normal login authentication , so that the only way that user can be authenticated is form from third ...
NAli's user avatar
  • 875
2 votes
1 answer
955 views

Getting the resolved Sitecore username corresponding to a facebook account on successful login

I have social log in set up with federated authentication on a Sitecore 9 instance. I am able to login with facebook from my front end site: Where can a capture this 'hVEQItzjCrLQI1Fuc0v3pQ' on login?...
Durga Bose's user avatar
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 ...
Owais Ahmed's user avatar