hi @web2worknl
Can you reprodece the problem via the free startup template and share it?
https://aspnetboilerplate.com/Templates
The new Chrome will block your application cookies because of the SameSite
problem.
Error message in the console.
A cookie associated with a resource at http://example.com/ was set with
SameSite=None
but withoutSecure
. It has been blocked, as Chrome now only delivers cookies markedSameSite=None
if they are also markedSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.`
There are two solutions:
Use https for your website.(recommend)
Add SameSite Cookie Policy
https://github.com/IdentityServer/IdentityServer4/blob/main/src/IdentityServer4/host/Extensions/SameSiteHandlingExtensions.cs https://github.com/IdentityServer/IdentityServer4/blob/main/src/IdentityServer4/host/Startup.cs#L43 https://github.com/IdentityServer/IdentityServer4/blob/main/src/IdentityServer4/host/Startup.cs#L113
https://github.com/aspnetzero/aspnet-zero-core/commit/74b139eb0d8edd8658888189471cd3a192891779
hi
Is the _permissionManager service created through dependency injection?
Please share some code of you backgroundjob.
hi @learner29
This service should only exist in unit tests.
See https://support.aspnetzero.com/QA/Questions/9446/After-Tenant-sign-up---admin-any-user-from-same-browser-login-goes-into-loop-on-Chrome-other-browsers-work#answer-772d5fb6-98f0-be39-5908-39f712747eb5
See https://support.aspnetzero.com/QA/Questions/9446/After-Tenant-sign-up---admin-any-user-from-same-browser-login-goes-into-loop-on-Chrome-other-browsers-work#answer-772d5fb6-98f0-be39-5908-39f712747eb5
Try this url https://github.com/aspnetzero/documents/blob/master/docs/en/Deployment-Angular-Publish-IIS.md#angular-application-publishing
You should use the npm run publish
command.
https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS#angular-application-publishing
hi emirsec
Can you share your deploy steps? of course more details will be good.
hi
Are there any other error messages?