Hi,
We don't have such a plan but you can create an issue on https://github.com/aspnetzero/aspnet-zero-core so we can consider it.
Hi @ips-jm
With the current design of AspNet Zero, it is very hard (maybe not possible) to ignore User information. So, to get an auth token, there must be a user. You can create a user record for each client and authenticate them like that.
Hi @ips-jm
In order to track this feature requet, could you create an issue here https://github.com/aspnetzero/aspnet-zero-core ?
Thanks,
Hi,
Sorry for my late reply. I couldn't understand the case %100 but I think a usage like below should solve your problem;
using (AbpSession.Use(tenantId,userId))
{
using (UnitOfManager.Current.SetTenantId(tenantId))
{
// execute your code here...
}
}
Hi Tim,
When I check the AspNet Zero source code, I couldn't find any reference to polyfill.io
You can take a look at this question https://stackoverflow.com/questions/78691261/security-alert-polyfill-io-issue-for-google-maps-platform-users-in-angular and search your project. If you can find a NPM package which references polyfill.io
, you can update it or try to remove it.
Hi @ips-ad
Sorry for our late reply. Could you explain the use case a bit more ? Is this flow triggered by a user on AspNet Zero app or does it happen via background jobs or something else ?
Hi @mmukkara
Did you have a chance to try this ?
Hi @hongbing.wang
We have tested this on the project you shared but couldn't reproduce the problem. Is there a live URL which we can access to test this problem ? You can send an email to support@aspnetzero.com for details.
Hi,
I think you are missing AddRefreshTokenCookie
method explained here https://aspnetzero.com/blog/http-only-cookies-in-asp.net-zero-angular-ui. Since you are using HTTP-Only in your app, server must write the RefreshToken to cookies. This cookie will be sent to server in every request automatically.
You can follow the blog post I shared above, make necessary changes and see if it works.
Hi,
We have this issue https://github.com/aspnetzero/aspnet-zero-core/issues/4955. We are using NSWAG and they didn't provide a solution to this yet. However, I'm adding #4955 to the next milestone to see if we can do anything about it.