ABP 7.2.2 Cannot find Volo.Abp.Ddd.Domain.Shared 7.2.2 nuget package. I use abp 7.2.2 but the package was not found.
warning when building: MyModule.Domain.Shared.csproj: Warning NU1603 : MyModule.Domain.Shared depends on Volo.Abp.Ddd.Domain.Shared (>= 7.2.2) but Volo.Abp.Ddd.Domain.Shared 7.2.2 was not found. Volo.Abp.Ddd.Domain.Shared 7.3.0 was resolved instead.
<PackageReference Include="Volo.Abp.Http.Client.Web" Version="7.2.2" /> <PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="7.2.2" />
7.2.2 UseAbpClaimsMap , not dynamic claims, CurrentUser.GetAllClaims() not phone_number
ABP Framework version: v7.2.2
UI Type: Blazor Server
Database System: PostgreSQL
Tiered (for MVC) or Auth Server Separated (for Angular): yes
Exception message and full stack trace:
Steps to reproduce the issue:
auth 44322 ,claim 有phone_number,但是blazor 和api 都获取不到
Blazor 和Api 添加了引用
<PackageReference Include="Volo.Abp.Http.Client.Web" Version="8.3.4" />
<PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="8.3.4" />
Correlation ID Not Included in Request Headers in ABP Blazor Project #21419 https://github.com/abpframework/abp/issues/21419 没有合并到8.3.* 分支么
2025-02-10 02:23:13.876 +00:00 [WRN] '.AspNetCore.Correlation.46sDUt15fafe3sWxhr8wSAhTMBdMwKFTXQdLeMMPR6k' cookie not found. 2025-02-10 02:23:13.877 +00:00 [INF] Error from RemoteAuthentication: Correlation failed.. 2025-02-10 02:23:13.879 +00:00 [ERR] An unhandled exception has occurred while executing the request. Microsoft.AspNetCore.Authentication.AuthenticationFailureException: An error was encountered while handling the remote login. ---> Microsoft.AspNetCore.Authentication.AuthenticationFailureException: Correlation failed. --- End of inner exception stack trace --- at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync() at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Prometheus.HttpMetrics.HttpRequestDurationMiddleware.Invoke(HttpContext context) at Prometheus.HttpMetrics.HttpRequestCountMiddleware.Invoke(HttpContext context) at Prometheus.HttpMetrics.HttpInProgressMiddleware.Invoke(HttpContext context) at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<
在http下,有办法解决么
ABP Studio does not support creating projects with a specific version
hi
openiddict 不支持Front-Channel Logout和Back-Channel Logout机制.
如果你的只有
system1
和system2
这两个客户端, 你可以覆盖默认的LogoutController
返回一个view 并添加2个客户端的注销url.在2个系统中增加一个新的端点
signout-oidc
, 如果有请求到达就注销.<!DOCTYPE html> <html> <style>iframe{{display:none;width:0;height:0;}}</style> <body> <iframe src='https://localhost/signout-oidc'></iframe> <iframe src='https://localhost/signout-oidc'></iframe> </body> </html>
You can check&share all http requests during the logout process.
Use Chrome to record and export as a
HAR
file. TheHAR
file will contain the request and response cookies.liming.ma@volosoft.com
Thanks.
system2 退出系统时,清理的是system2 的cookies和authserver 的cookie 。通过authserver 登录的blazor ,不受影响。 比如,一般情况下,autherver 44322/Account/Login ,登录成功后,直接访问system2 ,会重定向到authserver 登录,当authserver 已登录时,自动登录。登录成功后,autherver 44322/Account/Logout 退出登录,不影响system2 的登录状态。如何确保,authserver 44322/Account/Logout 退出登录时,使其他子系统cookie 都失效呢
hi
Do you have an online website to reproduce?
Thanks.
是否可以在线会议