Questions tagged [federated-authentication]
All questions related to Federated Authentication in Sitecore
115
questions
0
votes
1
answer
38
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 ...
1
vote
2
answers
86
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 ...
0
votes
0
answers
36
views
OAuth2.0 Federated authentication with Sitecore 9.3
We are upgrading our existing site from Sitecore 8.2 to Sitecore 9.3.
We are using federated authentication for our CD site with OAuth2.0. The login to the site is working as expected but in the ...
0
votes
1
answer
38
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-...
4
votes
1
answer
75
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
50
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 ...
0
votes
1
answer
57
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
28
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 ...
1
vote
1
answer
145
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
2
answers
181
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 ...
0
votes
1
answer
311
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, ...
1
vote
2
answers
78
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
134
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
0
answers
55
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
1
answer
140
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
0
answers
90
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
1
answer
83
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
0
answers
108
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
0
answers
158
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 ...
0
votes
1
answer
86
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
1
answer
177
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
0
answers
81
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
4
answers
3k
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
1
answer
72
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
0
answers
79
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
0
answers
73
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
1
answer
127
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 ...
2
votes
2
answers
352
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
2
answers
55
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
1
answer
136
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
2
answers
334
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
1
answer
307
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
0
answers
76
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
1
answer
103
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
1
answer
678
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
0
answers
471
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
0
answers
350
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
0
answers
210
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
1
answer
200
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
1
answer
125
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
0
answers
230
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
1
answer
40
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 ...
3
votes
2
answers
579
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
0
answers
56
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 ...
1
vote
1
answer
263
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
1
answer
127
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
1
answer
270
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
2
answers
193
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
1
answer
137
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
1
answer
505
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-...