Questions tagged [federated-authentication]

All questions related to Federated Authentication in Sitecore

Filter by
Sorted by
Tagged with
12
votes
2answers
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 ...
8
votes
2answers
2k views

Unsuccessful login with external provider

I have setup federated authentication for my Sitecore 9.1 website, to allow endusers to login using Azure B2C AD. Our website is following Helix architecture. This is my code: Portal.Website.config: ...
7
votes
2answers
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 ...
7
votes
1answer
1k 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 ...
6
votes
1answer
3k 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 ...
5
votes
1answer
563 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; /* [.....
5
votes
1answer
423 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 ...
4
votes
2answers
138 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 ...
4
votes
2answers
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 ...
4
votes
1answer
824 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 ...
4
votes
1answer
839 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 ...
4
votes
1answer
88 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 ...
4
votes
0answers
189 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
3answers
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 ...
3
votes
1answer
790 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/...
3
votes
1answer
100 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 ...
3
votes
2answers
48 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 ...
3
votes
2answers
429 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 ...
3
votes
1answer
775 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. ...
3
votes
1answer
1k 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 ...
3
votes
1answer
388 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-...
3
votes
0answers
128 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 ...
3
votes
0answers
393 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-...
3
votes
1answer
813 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 ...
3
votes
1answer
272 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
4answers
2k 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":&...
2
votes
2answers
245 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 ...
2
votes
1answer
785 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 ....
2
votes
1answer
1k 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 ...
2
votes
1answer
80 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 ...
2
votes
1answer
392 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" ...
2
votes
1answer
156 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 ...
2
votes
1answer
112 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?
2
votes
3answers
340 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 ...
2
votes
1answer
643 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?...
2
votes
0answers
84 views

Sitecore OpenIdConnect ExternalUserBuild not beeing called on 2nd Login

In my sitecore 9.1.1 Instance I've almost successfully setup Federated Authentication. The problem I'm currently trying to solve is the following: The Login Button authenticates my user via Keycloak ...
2
votes
2answers
476 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 ...
2
votes
0answers
111 views

Federated authentication user is getting logged in as interface user not as normal virtual user [duplicate]

This is my config file for the federated authentication. <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/"> <sitecore> <...
2
votes
0answers
364 views

Claims are not mapped and users are not persisted using Federated authentication

I'm using sitecore 9.1. I've implemented an IdentityProvidersProcessor using Microsoft.Owin.Security to authenticate users. I've added my transformations in a config file as below. <!--list of ...
2
votes
0answers
381 views

Virtual User is not persisted in federated authentication

We are integrating identity server authentication using Owin to a Sitecore 6.6 MVC application. After successful authentication Im trying to login a Sitecore virtual user which seems not persisted to ...
2
votes
0answers
345 views

Role not assigned to user

I am trying to implement federated login for my website in Sitecore 9.1. We are using Open Id connect with an implicit flow so that we upon authentication receive an identity-token. I've written a ...
2
votes
0answers
142 views

Sitecore 9 Federated Authentication on CM server - Single Logout

I am using sitecore 9 federated authentication feature to authenticate user through third party, i need to implement single logout from sitecore CMS. what is the configuration needs to be done to ...
1
vote
1answer
1k views

Sitecore 9.1 IdentityServer AzureAD subprovider user cannot login to the Admin site

I have configured Sitecore Identity to use Azure AD as the sub provider following the Sitecore document I can authenticate using my Azure AD account, but then I get the following message You do ...
1
vote
1answer
1k views

Could not find configuration node: federatedAuthentication/sharedTransformations/setIdpClaim

The configuration for federated authentication, was working fine with the Sitecore version 8.2. <?xml version="1.0" encoding="utf-8"?> <configuration xmlns:patch="http://www.sitecore.net/...
1
vote
2answers
1k views

Sitecore redirecting to federated authentication provider on unauthorized

I have a Sitecore 9 site configured to use an OWIN provider as described in this article. The site also allows users to authenticate via forms authentication. The two authentication methods are ...
1
vote
1answer
492 views

Storing custom data in Redis

Our Sitecore 9.2 PaaS website uses federated authentication for logging in our end users, and we are looking for a secure place to store refresh- and access-tokens (pref. serverside). We would prefer ...
1
vote
2answers
759 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
1answer
53 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 ...
1
vote
1answer
218 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 ...
1
vote
1answer
769 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 ...