Questions tagged [federated-authentication]
All questions related to Federated Authentication in Sitecore
128
questions
0
votes
1
answer
33
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
0
answers
28
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
1
answer
162
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 ...
0
votes
1
answer
46
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 ...
0
votes
0
answers
49
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 ...
0
votes
1
answer
130
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
1
answer
711
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
152
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
2
answers
217
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(...
1
vote
2
answers
216
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 ...
2
votes
1
answer
79
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
199
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
373
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
130
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 ...
0
votes
0
answers
715
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 ...
1
vote
1
answer
210
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
345
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
1
answer
188
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-...
5
votes
1
answer
214
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
152
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
183
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
69
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
340
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
474
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
759
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
181
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
400
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
157
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, ...
2
votes
2
answers
588
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
135
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
196
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&...
3
votes
0
answers
368
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 ...
1
vote
1
answer
175
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
329
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
119
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
5k
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
141
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
131
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
172
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
257
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 ...
3
votes
2
answers
581
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
85
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
250
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)
...
1
vote
2
answers
644
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
555
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
97
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
179
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
1k
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
860
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 ...
1
vote
0
answers
451
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 ...