Activités de "abpVAndy"

[22:38:12 DBG] Found in the cache: pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Roles,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Roles.Cr eate,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Roles.Update,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Roles.Delete,pn:U,pk:3a061de4-8 d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Roles.ManagePermissions,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Users,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246 199feed,n:AbpIdentity.Users.Create,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Users.Update,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.U sers.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Users.ManagePermissions,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Users.Imperso nation,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.Users.Import,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.OrganizationUnits,pn:U,pk:3a0 61de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.OrganizationUnits.ManageOU,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.OrganizationUnits.ManageRoles,pn: U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.OrganizationUnits.ManageMembers,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.SettingManagement,pn :U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AbpIdentity.SecurityLogs,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:AuditLogging.AuditLogs,pn:U,pk:3a061de4-8d7c-3bd4- 5dec-a0246199feed,n:AbpAccount.SettingManagement,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:LanguageManagement.LanguageTexts,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a02461 99feed,n:LanguageManagement.LanguageTexts.Edit,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:LanguageManagement.Languages,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed ,n:LanguageManagement.Languages.ChangeDefault,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:LeptonThemeManagement.Settings,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199fee d,n:CmsKit.Comments,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Comments.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Tags,pn:U,pk:3a061de4-8 d7c-3bd4-5dec-a0246199feed,n:CmsKit.Tags.Create,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Tags.Update,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit .Tags.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Pages,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Pages.Create,pn:U,pk:3a061de4-8d7c-3bd4- 5dec-a0246199feed,n:CmsKit.Pages.Update,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Pages.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Blogs, pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Blogs.Create,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Blogs.Update,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a 0246199feed,n:CmsKit.Blogs.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Blogs.Features,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.BlogPosts, pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.BlogPosts.Create,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.BlogPosts.Update,pn:U,pk:3a061de4-8d7c-3bd 4-5dec-a0246199feed,n:CmsKit.BlogPosts.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.BlogPosts.Publish,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:Cm sKit.Menus,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Menus.Create,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Menus.Update,pn:U,pk:3a061de4-8d7c- 3bd4-5dec-a0246199feed,n:CmsKit.Menus.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.GlobalResources,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKi t.Newsletter,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Poll,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Poll.Create,pn:U,pk:3a061de4-8d7c-3bd4-5d ec-a0246199feed,n:CmsKit.Poll.Update,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.Poll.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.SettingMan agement,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.UrlShorting,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.UrlShorting.Create,pn:U,pk:3a061de4-8d7 c-3bd4-5dec-a0246199feed,n:CmsKit.UrlShorting.Update,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:CmsKit.UrlShorting.Delete,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199f eed,n:TextTemplateManagement.TextTemplates,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:TextTemplateManagement.TextTemplates.EditContents,pn:U,pk:3a061de4-8d7c-3bd4- 5dec-a0246199feed,n:HouMall.Dashboard.Tenant,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n:HouMall.CustomerActivations,pn:U,pk:3a061de4-8d7c-3bd4-5dec-a0246199feed,n: HouMall.CustomerActivations.Create [22:38:12 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:supermanager,n:AbpIdentity.Roles,pn:R,pk:supermanager,n:AbpIdentity.Roles.Create,pn:R,pk:supermanager,n:AbpId entity.Roles.Update,pn:R,pk:supermanager,n:AbpIdentity.Roles.Delete,pn:R,pk:supermanager,n:AbpIdentity.Roles.ManagePermissions,pn:R,pk:supermanager,n:AbpIdentity.Users ,pn:R,pk:supermanager,n:AbpIdentity.Users.Create,pn:R,pk:supermanager,n:AbpIdentity.Users.Update,pn:R,pk:supermanager,n:AbpIdentity.Users.Delete,pn:R,pk:supermanager,n :AbpIdentity.Users.ManagePermissions,pn:R,pk:supermanager,n:AbpIdentity.Users.Impersonation,pn:R,pk:supermanager,n:AbpIdentity.Users.Import,pn:R,pk:supermanager,n:AbpI dentity.OrganizationUnits,pn:R,pk:supermanager,n:AbpIdentity.OrganizationUnits.ManageOU,pn:R,pk:supermanager,n:AbpIdentity.OrganizationUnits.ManageRoles,pn:R,pk:superm anager,n:AbpIdentity.OrganizationUnits.ManageMembers,pn:R,pk:supermanager,n:AbpIdentity.SettingManagement,pn:R,pk:supermanager,n:AbpIdentity.SecurityLogs,pn:R,pk:super manager,n:AuditLogging.AuditLogs,pn:R,pk:supermanager,n:AbpAccount.SettingManagement,pn:R,pk:supermanager,n:LanguageManagement.LanguageTexts,pn:R,pk:supermanager,n:Lan guageManagement.LanguageTexts.Edit,pn:R,pk:supermanager,n:LanguageManagement.Languages,pn:R,pk:supermanager,n:LanguageManagement.Languages.ChangeDefault,pn:R,pk:superm anager,n:LeptonThemeManagement.Settings,pn:R,pk:supermanager,n:CmsKit.Comments,pn:R,pk:supermanager,n:CmsKit.Comments.Delete,pn:R,pk:supermanager,n:CmsKit.Tags,pn:R,pk :supermanager,n:CmsKit.Tags.Create,pn:R,pk:supermanager,n:CmsKit.Tags.Update,pn:R,pk:supermanager,n:CmsKit.Tags.Delete,pn:R,pk:supermanager,n:CmsKit.Pages,pn:R,pk:supe rmanager,n:CmsKit.Pages.Create,pn:R,pk:supermanager,n:CmsKit.Pages.Update,pn:R,pk:supermanager,n:CmsKit.Pages.Delete,pn:R,pk:supermanager,n:CmsKit.Blogs,pn:R,pk:superm anager,n:CmsKit.Blogs.Create,pn:R,pk:supermanager,n:CmsKit.Blogs.Update,pn:R,pk:supermanager,n:CmsKit.Blogs.Delete,pn:R,pk:supermanager,n:CmsKit.Blogs.Features,pn:R,pk :supermanager,n:CmsKit.BlogPosts,pn:R,pk:supermanager,n:CmsKit.BlogPosts.Create,pn:R,pk:supermanager,n:CmsKit.BlogPosts.Update,pn:R,pk:supermanager,n:CmsKit.BlogPosts. Delete,pn:R,pk:supermanager,n:CmsKit.BlogPosts.Publish,pn:R,pk:supermanager,n:CmsKit.Menus,pn:R,pk:supermanager,n:CmsKit.Menus.Create,pn:R,pk:supermanager,n:CmsKit.Men us.Update,pn:R,pk:supermanager,n:CmsKit.Menus.Delete,pn:R,pk:supermanager,n:CmsKit.GlobalResources,pn:R,pk:supermanager,n:CmsKit.Newsletter,pn:R,pk:supermanager,n:CmsK it.Poll,pn:R,pk:supermanager,n:CmsKit.Poll.Create,pn:R,pk:supermanager,n:CmsKit.Poll.Update,pn:R,pk:supermanager,n:CmsKit.Poll.Delete,pn:R,pk:supermanager,n:CmsKit.Set tingManagement,pn:R,pk:supermanager,n:CmsKit.UrlShorting,pn:R,pk:supermanager,n:CmsKit.UrlShorting.Create,pn:R,pk:supermanager,n:CmsKit.UrlShorting.Update,pn:R,pk:supe rmanager,n:CmsKit.UrlShorting.Delete,pn:R,pk:supermanager,n:TextTemplateManagement.TextTemplates,pn:R,pk:supermanager,n:TextTemplateManagement.TextTemplates.EditConten ts,pn:R,pk:supermanager,n:HouMall.Dashboard.Tenant,pn:R,pk:supermanager,n:HouMall.CustomerActivations,pn:R,pk:supermanager,n:HouMall.CustomerActivations.Create [22:38:12 DBG] Found in the cache: pn:R,pk:supermanager,n:AbpIdentity.Roles,pn:R,pk:supermanager,n:AbpIdentity.Roles.Create,pn:R,pk:supermanager,n:AbpIdentity.Roles.Up date,pn:R,pk:supermanager,n:AbpIdentity.Roles.Delete,pn:R,pk:supermanager,n:AbpIdentity.Roles.ManagePermissions,pn:R,pk:supermanager,n:AbpIdentity.Users,pn:R,pk:superm anager,n:AbpIdentity.Users.Create,pn:R,pk:supermanager,n:AbpIdentity.Users.Update,pn:R,pk:supermanager,n:AbpIdentity.Users.Delete,pn:R,pk:supermanager,n:AbpIdentity.Us ers.ManagePermissions,pn:R,pk:supermanager,n:AbpIdentity.Users.Impersonation,pn:R,pk:supermanager,n:AbpIdentity.Users.Import,pn:R,pk:supermanager,n:AbpIdentity.Organiz ationUnits,pn:R,pk:supermanager,n:AbpIdentity.OrganizationUnits.ManageOU,pn:R,pk:supermanager,n:AbpIdentity.OrganizationUnits.ManageRoles,pn:R,pk:supermanager,n:AbpIde ntity.OrganizationUnits.ManageMembers,pn:R,pk:supermanager,n:AbpIdentity.SettingManagement,pn:R,pk:supermanager,n:AbpIdentity.SecurityLogs,pn:R,pk:supermanager,n:Audit Logging.AuditLogs,pn:R,pk:supermanager,n:AbpAccount.SettingManagement,pn:R,pk:supermanager,n:LanguageManagement.LanguageTexts,pn:R,pk:supermanager,n:LanguageManagement .LanguageTexts.Edit,pn:R,pk:supermanager,n:LanguageManagement.Languages,pn:R,pk:supermanager,n:LanguageManagement.Languages.ChangeDefault,pn:R,pk:supermanager,n:Lepton ThemeManagement.Settings,pn:R,pk:supermanager,n:CmsKit.Comments,pn:R,pk:supermanager,n:CmsKit.Comments.Delete,pn:R,pk:supermanager,n:CmsKit.Tags,pn:R,pk:supermanager,n :CmsKit.Tags.Create,pn:R,pk:supermanager,n:CmsKit.Tags.Update,pn:R,pk:supermanager,n:CmsKit.Tags.Delete,pn:R,pk:supermanager,n:CmsKit.Pages,pn:R,pk:supermanager,n:CmsK it.Pages.Create,pn:R,pk:supermanager,n:CmsKit.Pages.Update,pn:R,pk:supermanager,n:CmsKit.Pages.Delete,pn:R,pk:supermanager,n:CmsKit.Blogs,pn:R,pk:supermanager,n:CmsKit .Blogs.Create,pn:R,pk:supermanager,n:CmsKit.Blogs.Update,pn:R,pk:supermanager,n:CmsKit.Blogs.Delete,pn:R,pk:supermanager,n:CmsKit.Blogs.Features,pn:R,pk:supermanager,n :CmsKit.BlogPosts,pn:R,pk:supermanager,n:CmsKit.BlogPosts.Create,pn:R,pk:supermanager,n:CmsKit.BlogPosts.Update,pn:R,pk:supermanager,n:CmsKit.BlogPosts.Delete,pn:R,pk: supermanager,n:CmsKit.BlogPosts.Publish,pn:R,pk:supermanager,n:CmsKit.Menus,pn:R,pk:supermanager,n:CmsKit.Menus.Create,pn:R,pk:supermanager,n:CmsKit.Menus.Update,pn:R, pk:supermanager,n:CmsKit.Menus.Delete,pn:R,pk:supermanager,n:CmsKit.GlobalResources,pn:R,pk:supermanager,n:CmsKit.Newsletter,pn:R,pk:supermanager,n:CmsKit.Poll,pn:R,pk :supermanager,n:CmsKit.Poll.Create,pn:R,pk:supermanager,n:CmsKit.Poll.Update,pn:R,pk:supermanager,n:CmsKit.Poll.Delete,pn:R,pk:supermanager,n:CmsKit.SettingManagement, pn:R,pk:supermanager,n:CmsKit.UrlShorting,pn:R,pk:supermanager,n:CmsKit.UrlShorting.Create,pn:R,pk:supermanager,n:CmsKit.UrlShorting.Update,pn:R,pk:supermanager,n:CmsK it.UrlShorting.Delete,pn:R,pk:supermanager,n:TextTemplateManagement.TextTemplates,pn:R,pk:supermanager,n:TextTemplateManagement.TextTemplates.EditContents,pn:R,pk:supe rmanager,n:HouMall.Dashboard.Tenant,pn:R,pk:supermanager,n:HouMall.CustomerActivations,pn:R,pk:supermanager,n:HouMall.CustomerActivations.Create [22:38:12 DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). [22:38:12 INF] Executing ContentResult with HTTP Response ContentType of application/javascript [22:38:12 INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 665.4575m s [22:38:12 INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' [22:38:12 INF] Request finished HTTP/2 GET https://localhost:44366/Abp/ApplicationConfigurationScript - - - 200 212011 application/javascript 702.4028ms [22:38:13 DBG] Executing HealthCheck collector HostedService. [22:38:13 INF] Start processing HTTP request GET https://localhost:44366/health-status [22:38:13 INF] Sending HTTP request GET https://localhost:44366/health-status [22:38:13 INF] Request starting HTTP/1.1 GET https://localhost:44366/health-status - - [22:38:13 INF] Executing endpoint 'Health checks' [22:38:13 DBG] Added 0 entity changes to the current audit log [22:38:13 INF] Executed endpoint 'Health checks' [22:38:13 INF] Received HTTP response headers after 27.4635ms - 200 [22:38:13 INF] End processing HTTP request after 27.6754ms - 200 [22:38:13 INF] Request finished HTTP/1.1 GET https://localhost:44366/health-status - - - 200 - application/json 26.5082ms [22:38:13 DBG] HealthReportCollector - health report execution history saved. [22:38:13 DBG] HealthReport history already exists and is in the same state, updating the values. [22:38:13 DBG] HealthReportCollector has completed. [22:38:13 DBG] HealthCheck collector HostedService executed successfully. [22:38:23 DBG] Executing HealthCheck collector HostedService. [22:38:23 INF] Start processing HTTP request GET https://localhost:44366/health-status [22:38:23 INF] Sending HTTP request GET https://localhost:44366/health-status [22:38:23 INF] Request starting HTTP/1.1 GET https://localhost:44366/health-status - - [22:38:23 INF] Executing endpoint 'Health checks' [22:38:23 DBG] Added 0 entity changes to the current audit log [22:38:23 INF] Executed endpoint 'Health checks' [22:38:23 INF] Received HTTP response headers after 36.7885ms - 200 [22:38:23 INF] End processing HTTP request after 36.9589ms - 200 [22:38:23 INF] Request finished HTTP/1.1 GET https://localhost:44366/health-status - - - 200 - application/json 27.7680ms [22:38:23 DBG] HealthReportCollector - health report execution history saved. [22:38:23 DBG] HealthReport history already exists and is in the same state, updating the values. [22:38:23 DBG] HealthReportCollector has completed. [22:38:23 DBG] HealthCheck collector HostedService executed successfully.

hi @abpVAndy

请分享这个请求的详细日志. 请把日志级别调整到最低Trace或者Debug

Hi Maliming,

Up are the logs. It seems permission related has bug?

hi

I will contact you by WeChat.

Hi maliming,

Thank you so much! Now very quick.

  • ABP Framework version: v5.3.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

What I need and try to do: With abp vnext (IDS4), make SSO(Single Sign-on) for web product and Winform product. Use code flow.

What I will try to do: Steps: 1, when ids mvc login page open, and login successfully, I will get the token from HttpContext.Request.

2, save this token into redis.

3, when Winform or another different browser try to open the login page(ids4 mcv). I need to get the token from redis.

4, add this token into HttpContext.Request in the OnGetAsync() method in Login.cshtml.cs.

Are you trying to save/get the Access Token of MVC application and use it in a different application (Winform application)? If that is what you are trying to, it is basically what these security systems are preventing against.

If you are trying to achieve communication between an MVC application and Winform application, you should use Client-Credentials flow. If you are trying add your Winform application to the openid provider environment (identityserver) just like the mvc application, you need to add the MVC application as a client to the IdentityServer.

Are you trying to save/get the Access Token of MVC application and use it in a different application (Winform application)? If that is what you are trying to, it is basically what these security systems are preventing against.

For this, Yes. I try to make web application and Winform application or diffirent browser to share the token by redis. So you mean, we cannot make it by abp IDS4 server? Can I make it if I have the abp source code to change IDS4 server?

We have different applications: web, winform, mobile. Right now, we are trying to find solution to make SSO for all these applications. Means, if the different applications in save pc/vm, they just need one to use code flow/openid to login and all others do not need login again, they will auto login.

So I try to use abp ids4 server, and let different applications to share token by redis.

Thanks,

  • ABP Framework version: v6.0.0
  • UI type: Angular / MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

we have a requirement for abp identityserver.

Dose ABP commercial version be posssilbe be SSO for all clients in one vm/pc? Below the image is the logic we want.

Our products have different client: web1, web2, web3 and winform1, wpf 1. we want: after one of these client login successfully, all others will not need username and pwd to login again. All other clients will be auto login by SSO. What we could think about is, these client should be share one Token in some where. We consider use, code or OIDC flow for all the clients of SSO.

Any suggestions?

But it seems abp could not permit different client to share token. Right? Is it possible we change the source code to meet the requirement?

Thanks,

As I have mentioned in this answer, you can not use a token of an application in different applications. This is not related to ABP or IdentityServer.

You need to register your applications (Frontend web client. backend web client, wpf client, windows forms client) as clients with correct redirect uris and correct authorization flows (like authorization code flow).

Thanks for your reply!

We are trying use abp to recode our whole products, web/winform clients. And we try to got "Token" or "Code" in abp, but we cannot got it. Could you give us some hint how to got them. In here, we only see "__requestVerificationToken" in abp.

Thanks,

Affichage de 101 à 107 sur 107 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11