Closed jontycool closed 1 year ago
Could you attach the contents of ConfigureServices in the MVC app's Startup.cs? I was able to resolve this issue by adding the following:
services.Configure<SecurityStampValidatorOptions>(options =>
{
options.OnRefreshingPrincipal = SecurityStampValidatorCallback.UpdatePrincipal;
});
See, #1878 for details.
This organization is not maintained anymore besides critical security bugfixes (if feasible). This organization will be archived when .NET Core 3.1 end of support is reached (3rd Dec 2022). All new development is happening in the new Duende Software organization.
The new Duende IdentityServer comes with a commercial license but is free for dev/testing/personal projects and companies or individuals making less than 1M USD gross annnual revenue. Please get in touch with us if you have any question.
"idp claim is missing" error received when trying to login after leaving the browser idle for sometime.
I use IS4 as SSO for my MVC as well as React Webapp. Both the logins work fine on normal usage. But, I am facing a problem only when I leave the browser idle for sometime.
When I leave the browser idle in the MVC side and then after sometime if I visit another MVC url, it works just fine. Same is the case with React App as well (because of Silent Renewal). In the React side also, after leaving the browser idle for sometime, if I navigate within the React Webapp everything works fine.
The problem arises when I leave the browser idle in the MVC side for sometime and then click on a React URL, I am getting this "idp claim is missing" error. I have already tried to look into existing idp claim issues and their solutions but its not working out for me. Maybe I am missing out on something else.
Issue / Steps to reproduce the problem
Identity Server Logs
React (oidc-client-js) Configuration
[Please let me know if any other log is needed to understand this situation]