Questions tagged [federated-authentication]

All questions related to Federated Authentication in Sitecore

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

CustomExternalUserBuilder not getting called sitecore 9.3

We have added identity provider for Azure B2C for login into sitecore websites. We need to change the username of virtual user that is created by sitecore after authentication. For that, below code is ...
0
votes
0answers
17 views

Sitecore Federated Authentication's Authentication Challenge Nonce is null error

Whenever I use Sitecore's getsignonurl and signin, I am sucessfully authenticated everything works fine. However, when I use the authentication challenge, User.Identity.IsAuthentication is false. But, ...
1
vote
1answer
30 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 ...
0
votes
0answers
26 views

Issues with Federated Authentication on a multi site architecture for separate client id per site

For a multi-site architecture, we have separate client id for each site under the same Auth0 Domain. In the IdentityProviderProcessor, whenever I try to assign clientId for the relevant site inside ...
1
vote
1answer
57 views

Get current site in IdentityProvidersProcessor for Federated Login

We have a multisite architecture, and I am working on implementing the federated authentication using Auth0 for visitors login/signup. I need to fetch separate client id and secret per tenant based on ...
0
votes
0answers
38 views

Which Pipeline triggers the Logout when CookieAuthentication expires?

Is there a pipeline that I can hook into, when the CookieAuthentication time, that has been defined in config, expires? <owin.initialize> <processor name="CookieAuthentication&...
2
votes
0answers
43 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 ...
0
votes
0answers
26 views

Preview mode uses anonymous user despite Preview.AsAnonymous=false [duplicate]

I am on Sitecore 10.0.1 and I have a page that has authentication on it for my custom domain's anonymous account to have read access denied. In Experience Editor, when I click the Preview button, I'm ...
0
votes
1answer
38 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 ...
1
vote
1answer
73 views

How to get the Azure AD access token from Sitecore Identity Server after using the Azure AD login and use the token for call to external APIs?

I have a Sitecore 9.2 application and a feature project for Web API . In the API controller classes I need to get the access token issued from Azure AD after using the Azure AD login on my Sitecore ...
1
vote
0answers
47 views

Implement Federated Auth for Asp.net Core headless

I have a Sitecore 10 application running in container with ASP.Net core Headless mode. I want to implement a federated authentication for my CD site. But is it possible ? As per the below document its ...
2
votes
4answers
720 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":&...
0
votes
1answer
54 views

Sitecore 10.0.1 Saml2 Federated Authentication using IdentityServer4 and SustainSys Microsoft.IdentityModel.Tokens.Saml.dll

We are attempting to set up a plugin for IdentityServer4 for Saml using SustainSys.Saml2. We are getting an error in the log files related to Microsoft.IdentityModel.Tokens.Saml.dll being missing. ...
0
votes
0answers
43 views

How to keep the visitor logged in forever

I'm using Sitecore 10.1 with Commerce 10.1 and working on a requirement to keep the website visitor always logged in (even with browser close & system restarts). I have used the default SXA login ...
1
vote
0answers
43 views

Sitecore 9.3 Federated authentication - idp claim is missing Parameter name: identity

I am working on adding SAML federated authentication to my sitecore site. I am follwing the instructions given here I can see the claims being returned. But when creating the external user, I am ...
1
vote
1answer
45 views

Federated Auth Sitecore Editor and Public site without Identity Server

Sitecore 9.3 I have Okta federated auth working great on the public site. But I am trying to get the sitecore editors to log in, I can never get access for their users. Does Sitecore require a ...
1
vote
1answer
158 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 ...
3
votes
2answers
44 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 ...
0
votes
1answer
64 views

Azure AD B2C via MSAL.js and Sitecore Federated login

I'm currently working on the following set up: Sitecore 9.3 Authentication in Azure AD B2C is done on the frontend site via JS using MSAL.js library following this example (authentication via pop-up) ...
0
votes
2answers
171 views

Redirect user back to sitecore logout page instead of Azure AD login page

I'm using Sitecore 9.3 Currently, I have configured the Sitecore to bypass the Sitecore identity provider login page by following as per the doc but Is there a way to redirect the user to the logout ...
1
vote
1answer
204 views

Sitecore Federated Authentication with Azure AD for Multisite

We have implemented Sitecore Federated Authentication with Azure AD (similar to http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html). Now we ...
0
votes
0answers
60 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 ...
2
votes
1answer
63 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 ...
1
vote
1answer
295 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 ...
0
votes
0answers
281 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 ...
0
votes
0answers
41 views

Getting the Sitecore User after ADFS Login

In our Sitecore Solution we previously used the Sitecore AD Module with a custom login page that uses a controller. After Login we set the context language to the users prefered language. This ...
0
votes
0answers
225 views

Sitecore 9.1 authentication using OKTA

I am trying to integrate OKTA authentication in Sitecore CD web site. I am able to redirect users in OKTA hosted URL and getting the Token in AuthorizationCodeReceived event. I am facing two issues in ...
0
votes
0answers
8 views

Integarte ADFS login with sitecore [duplicate]

I am looking to integrate AD login functionality with sitecore. I am able to use Azure AD but how to handle it with ADFS?
0
votes
0answers
141 views

Sitecore Identity Server: Azure AD: Nonce was null

Sitecore Identity Server: Azure AD: Nonce was null. Looking to see if others encountered this issue with Sitecore 9.3. I can output the claims for the logged in user but then it throws an exception re:...
2
votes
1answer
126 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 ...
4
votes
1answer
71 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 ...
0
votes
0answers
139 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/...
0
votes
1answer
37 views

External Federated Authentication with Open ID connect - when is the best time to Identify the Contact?

I have a custom IdentityProvidersProcessor for federated user authentication for a front-end user facing site. I would like to also Identify the user as a Contact when they log in. When is the best ...
2
votes
2answers
293 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 ...
0
votes
0answers
32 views

Sitecore 9.2 Federated Authentication is not redirecting to https in CM

We had configured the Federated authentication for our CM instance. In the AllowedCorsOriginsGroup we gave two url as https://scdev9.local and http://scdev9.local After authenticating with external ...
0
votes
1answer
173 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 ...
0
votes
1answer
105 views

Sitecore 9.3 Federated Authentication - After Authentication Sitecore roles are not getting processed for the logged in user

We have implemented federated authentication in Sitecore 9.3 version. We are able to authenticate with azure AD account successfully, But after authentication Sitecore role is not getting assigned to ...
1
vote
1answer
171 views

'http://www.sitecore.net/identity/claims/originalIssuer' claim is missing error in Sitecore 9.1

When trying to login Sitecore 9.1 CMS server with Azure Ad fedAuth, I am not getting loggedin. When I checked the Sitecore logs it shows the below error, ERROR [Sitecore Identity] Unable to get user ...
1
vote
2answers
135 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 ...
2
votes
1answer
101 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?
3
votes
1answer
330 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-...
1
vote
1answer
806 views

Sitecore 9.1.1 Open ID Connect Authentication set up

I have issue with configuration of OpenID Connect with Sitecore Federated Authentication. On the final step of login process in the call to /identity/externallogincallback the cookies are missing. I ...
2
votes
2answers
391 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
104 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> <...
1
vote
0answers
162 views

SAML federated authentication

I have been running into a problem with Sitecore federated authentication, and am looking for help. We have even been working with Sitecore, but not getting the help we need. We have Sitecore 9.0 ...
0
votes
0answers
40 views

Disable form authentication in sitecore 9 [duplicate]

I am using Sitecore federated authentication with azure AD to login to Sitecore. But, I can also use my Sitecore password to log in using form authentication. Is there any OOB solution to disable ...
1
vote
1answer
243 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-...
3
votes
1answer
752 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 ...
0
votes
1answer
88 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, ...
0
votes
1answer
140 views

how to implement login functionality on cd site by using custom sql database? [closed]

We have common user database table for different applications. So we need to implement login functionality only on CD site using external common sql db and for CMS we are using default sitecore user ...