The used case is, I am getting an error on my UAT environment after login. But its not being generated each time. Its occurring on one specific mac, on safari and firefox, in chrome there is no issue at all. I tried all the way cleaning everything and running in private/incognito window (specific mac system) everywhere else it work smoothly
The issue is, Unhandled exception of Correlation failed. It seems to be some sort of cookies issue. but not able to produce on local Please find the attached screenshot of error.
here are some additional details
context.Services.AddAuthentication(options => { options.DefaultScheme = "Cookies"; options.DefaultChallengeScheme = "oidc"; }) .AddCookie("Cookies", options => { options.ExpireTimeSpan = TimeSpan.FromDays(365); }) .AddAbpOpenIdConnect("oidc", options => { options.CorrelationCookie.SameSite = Microsoft.AspNetCore.Http.SameSiteMode.None; options.Authority = configuration["AuthServer:Authority"]; options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); ; options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
options.ClientId = configuration["AuthServer:ClientId"];
options.ClientSecret = configuration["AuthServer:ClientSecret"];
options.SaveTokens = true;
options.GetClaimsFromUserInfoEndpoint = true;
options.Scope.Add("role");
options.Scope.Add("email");
options.Scope.Add("phone");
options.Scope.Add("mzine");
});
I cached the data in Redis, The data which I cached is Entity. Example Job (Not JobDto) When I read data from Redis, All the data get mapped except the base properties (Id, CreationTime, CreatorId, LastModificationTime, LastModifierId)
The cause which I found is these Properties are having protected set;
public virtual TKey Id { get; protected set; }
Can you help me out in this, how can I map the data so that I can get the Entity Again from Cache.
Thanks
Hi Team any update on this ?
Hi team, Any update on this ?
Hi
Can you please elaborate this. I didn't get what you are trying to say.
Thanks
Hi Team,
My bad, I was missing the component (ng-zorro-antd-tree) bundle css in angular.json
Thanks for the support.
Please suggest how can I manage parent child hierarchy is correct alignment for organization units
Currently Parent, Child and Sub-Child all should be in correct hierarchy but currently they are all in same root. Even the html generated is in root not in nested manner.
Please suggest way to handle it , Please review screenshot for example
Hi Team,
I managed to configure it and Azure Ad OpenId button for sign in is available, and its working as well.
But this is present in my backend api only, I would like to enable it in my angular account module page (default account module from abp). How can I achieve this
Any article/documentation or sample if you can provide
Ok Thanks for the update Jack.