Questions tagged [identity-server]

IdentityServer is a free, open source OpenID Connect and OAuth 2.0 framework for ASP.NET Core. Questions related to it in Sitecore environment, should use this tag.

Filter by
Sorted by
Tagged with
2
votes
0answers
20 views

Setting up Authentication flow using Client Credentials

I am trying to establish Client_credentials authentication flow from my .NET API to fetch the items, sort of like https://doc.sitecore.com/en/developers/93/sitecore-experience-manager/use-bearer-...
0
votes
1answer
47 views

Deploying files to Identity Server Container

I am trying to configure a non-interactive client login in a Sitecore 10 container environment (https://doc.sitecore.com/en/developers/100/developer-tools/configure-a-non-interactive-client-login.html)...
0
votes
1answer
22 views

Sitecore XP 9.3 Identity Server giving 500.19 error after .Net Core Update from 2.1 to 3.1

We are using Sitecore XP 9.3 along with Sitecore JSS 13.0. Since Microsoft has stopped support for the .Net Core 2.1 version, we have upgraded .Net Core version from 2.1 to 3.1. But after the upgrade, ...
0
votes
1answer
112 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, ...
0
votes
0answers
44 views

Sitecore Identity Server GetToken, No signing credential is configured. Can't create JWT token Error

13:41:45 User profile is available. Using '"C:\windows\system32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest. ...
2
votes
2answers
90 views

How to sign in to a single CM node in a load balanced environment

We have a load balanced v9.3 CM environment with 3 CMs and 1 Identity Server. The load balanced URL is https://test-cm.myclient.com/sitecore. The client would like to also be able to sign in to a ...
1
vote
1answer
178 views

Sitecore Identity Server Unhandled exception: "System.Security.Cryptography.CryptographicException: Invalid provider type specified

I'm trying to run the PostMan GetToken method for Sitecore Commerce, which results in the error in PostMan Unable to verify the first certificate - Postman. Digging into the Sitecore Identity Server ...
0
votes
0answers
22 views

Sitecore preview mode issue [duplicate]

Environment: Sitecore 9.1 using Owin middleware Problem: The user logs into the sitecore content editor and clicks on preview mode from the content editor or the experience editor. The system ...
0
votes
0answers
81 views

Sitecore 9.3 XP1-CM Post Installation Issue - Sorry there was an error

I am installing Sitecore 9.3 XP1-CM on Windows 2016 Server. Trying to set up our UAT Servers. The installation succeeded and I can see the login page. But, if I try to login to the Sitecore Instance, ...
1
vote
2answers
96 views

Sitecore Content Hub Azure Active Directory Login

I am trying to implement Azure AD in my Content Hub portal. I have created the App in Azure Active Directory and also add the Application ID URI, federation metadata & get the Entity Id. In my ...
0
votes
1answer
53 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
113 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 ...
0
votes
1answer
60 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. ...
1
vote
1answer
91 views

Restrict access to site on subdomain

I have backoffice functionality that should require Sitecore identity server logins with specific permissions/roles. It is hosted on its own Sitecore-site definition and subdomain, for example ...
2
votes
2answers
247 views

Post Logout Redirect Is Not Working with Sitecore 9.3 and ADFS 2019

I have a Sitecore/ADFS integration working with SC 9.3 and ADFS 2019 (on premise). Sign in is working fine. However we can't get the post logout redirect to work. Currently when a user signs out of ...
1
vote
0answers
174 views

Sitecore login redirects to website and not Launchpad

We are using azure alias URL "https://abc.com/sitecore/login" to access our prod CM site "https://abc-1001-cm.azurewebsites.net/sitecore/login". Earlier we had Sitecore 9.0.1 ...
1
vote
3answers
395 views

Sitecore 9.3 Identity Server Redirects to 404

I configured a content management server with Identity server. Accessing the CM server takes me to the Identity server correctly, but after logging it redirects me to https://cm-sitecore93.test.com/...
0
votes
0answers
90 views

Transform not working after publish

I have created a transform file In Visual studio by right click on the config file and selected the Add Transform option instead of SlowCheetah. After selection its creating the transformation file ...
0
votes
1answer
118 views

Sitecore 9.1 Azure AD Restrict Persistent User creation

I am new to Sitecore Azure AD authentication setup. So I had followed the link (https://www.velir.com/blog/2019/07/01/integrating-identity-server-azure-active-directory-single-sign-sso-sitecore-91) to ...
0
votes
1answer
56 views

Identity Server Assembly Load Exception

I have ported our identity provider from integrated with Sitecore directly over to the identity server. After getting the configuration set up, my provider is getting loaded and configured, but then ...
1
vote
0answers
50 views

Sitecore identity server to parse Azure group claims coming back with specific URLdue to Group Overage Claim

Some details: Sitecore version 9.3 Using Sitecore Identity Server Azure AD Integration In the returned ID_Token, Azure is sending group URL details because of Group Overage Policy (https://docs....
0
votes
0answers
165 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:...
4
votes
3answers
225 views

Identity Server logs clean-up

Is there any way to clean-up logs for Sitecore 9.3 Identity Server? I searched for logging configuration but didn't find any. I want to update configuration so that it automatically deletes logs older ...
2
votes
0answers
90 views

Connection string encryption in Identity Server

We had implemented the federated authentication as part of Sitecore 9.2. We need to encrypt the connection string present in Sitecore.IdentityServer.Host.xml of the Identity Server. Is there a way to ...
5
votes
0answers
75 views

Does sitecore.cli require identity server?

When using the Sitecore CLI in SC10, the --authority parameter seems to require the identity server. Can it be used without the identity server? What would be the format of the URL? We have SSO ...
0
votes
2answers
254 views

Invalid identity provider: sitecoreidentityserver when attempting to login

Attempted to simply login to two different sitecore CM ( test and prod ) Azure PaaS servers and go the following error : Invalid identity provider: sitecoreidentityserver I suspect it has to do with ...
3
votes
2answers
385 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 ...
1
vote
1answer
211 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
0answers
26 views

Read identity server's settings XML for custom parameter

In the identity server HTML files there's an identityServer.xml file at C:\inetpub\wwwroot\SI\sitecore\Sitecore.Plugin.IdentityServer\Config. I've modified this file in the past for the SHA512 setup ...
1
vote
0answers
110 views

Sitecore Identity Server throws 431 error when the user have large number of assigned roles and groups

I am using Sitecore 9.3 , i use the group claim that is received after authentication to map the users to specific roles and i have noticed that when the number of assigned roles and groups has ...
1
vote
5answers
1k views

SItecore Identity Server on Prem throws" Error: An error occured"

I am seeing an issue in logging to sitecore 9.3 instance.. When i hit the url like https://{domainname}/sitecore. It gets redirected to Sitecore identity server login page. I enter user name password ...
3
votes
1answer
429 views

Sitecore 9.3 - adding Identity Provider

I am trying to add a IdentityProvider in Sitecore 9.3 as shown below: <federatedAuthentication> <identityProviders hint="list:AddIdentityProvider"> <identityProvider id="...
2
votes
1answer
970 views

Sitecore 9.3 federated authentication onPrem Active Directory

I am upgrading an 8.2 instance with Active Directory Module to 9.3. But I can't find much information about connecting IS4 to Active Directory. Has anyone connected federated authentication with an ...
1
vote
1answer
4k views

OpenIdConnectProtocolValidationContext.Nonce was null For Azure AD Auth

I followed the steps here https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/ to get this set up and it is all great. However, even ...
1
vote
1answer
309 views

Integrate Azure ADB2C with Sitecore 9.3 CD (content delivery)

I've been reading a lots of references (sitecore doc/blog posts etc) on integrating CM with Azure AD B2C sub providers. However, I've not been able to locate the reliable resource on how we can ...
3
votes
1answer
436 views

Identity-Server with ADFS and OpenID

Official Sitecore documentation is very minimalistic in many points ;-) Has someone already implemented an IdentityServer provider to work with ADFS (not Azure AD) and OpenID with Sitecore 9.2? I ...
2
votes
0answers
770 views

Sitecore identity server and Azure AD: Signature validation failed

I have been following this guide to set up integration with Azure AD. I have configured the AD in Azure portal as mentioned in the guide. I have configured the IDs of tenant, application and the ...
4
votes
2answers
369 views

Using an Identity server for a Content Delivery

I would like to authente users using an identity server on a Content Delivery. Following Sitecore Documentation Configure a Sitecore instance and Sitecore Identity server I have : Patched the sc....
0
votes
1answer
817 views

Identity Server not redirecting to Azure Frontdoor URL

We are implementing URL hardening in Azure PaaS. We have added Azure front door urls to CM app. We have updated Sitecore.Owin.Authentication.IdentityServer.config on CM server with new url for ...
2
votes
2answers
461 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
1answer
859 views

Sitecore redirects for login page using hostname

We have a sitecore instance (xp0 for now) with an identity server. They are deployed to azure and belong to a private vnet. Access to nodes is done through the application gateway. But because of ...
0
votes
0answers
38 views

How to pause SignedInArgs, move to a page, then continue OR create a new SignedInArgs to complete the login?

I've created a two-factor page for sitecore login on older sitecore (9.0 and below) by playing with its LoggedInArgs like this: Check the condition if 2FA needed. If it is, then abort LoggedInArgs ...
1
vote
2answers
274 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
800 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 ...
3
votes
0answers
56 views

Accessing Azure B2C Access Token with Sitecore ID Server

In Sitecore 9.1 we have integrated Azure B2C with Sitecore Identity Server. We now need to get access to the Azure B2C Access Token on the Sitecore CD server, which was based to Sitecore Identity ...
3
votes
1answer
573 views

Identity Server is not working

Good Day, I have Sitecore 9.1.1 installed on Azure, I'm trying to log in but it keeps redirecting to an error page, when I checked the identityServerAuthority URL I found that it is not working (...
0
votes
1answer
39 views

Extra log in button showing

On my new fresh install of Sitecore Identity Server, I see the extra log in button: My understanding is this appears if you have an external identity server set up. But I do not. This is a fresh ...
3
votes
1answer
420 views

Use Identity Server for multiple CM instances

We are using Sitecore 9.2 and have several different instances (completely separated with its own deployment for creating different websites). We want to introduce Azure AD login to use domain login ...
3
votes
0answers
412 views

Invalid redirect_uri issue

I installed Sitecore 9.3 on Azure. Everything is working fine. Next I installed Sitecore Horizon 9.3 on Azure. Then If I try to click on Horizon icon from Sitecore. It is giving error. I tried below ...
5
votes
1answer
407 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 ...