Ok, That's a great thing !! I had missed this detail beacause we use quartz. Thank you.
I've enabled IdentityServer and the login process works fine with user and password but if a user has ShouldChangePassword flag, IdentityServer allow the authentication. Which are the property in common with AspNetZero and IdentityServer ?
Thank you
Yess, is very easy.
Just follow the instrunction on this page:
https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Infrastructure-Core-Angular-Identity-Server4-Integration
and use the console test program.
This is my configuration
"IdentityServer": { "IsEnabled": "true", "Authority": "https://localhost:44301/", "ApiName": "default-api", "ApiSecret": "secret", "Clients": [ { "ClientId": "client", "AllowedGrantTypes": [ "password" ], "ClientSecrets": [ { "Value": "def2edf7-5d42-4edc-a84a-30136c340e13" } ], "AllowedScopes": [ "default-api" ] }
Run Abp in debug mode and after start the console app. ValidateToken throw exception even if the request is correctly executed.
I must do a clarification about the question no 1.
The instances are created by Azure loadbalancer automatically and I don't know which and how many instances are running at same time. So is not possible apply your suggestion.
All background/jobs's system I think should have an interface like the Cache, so you can replace with a external well known scheduler service.
Hi, I have many clients ( devices and server to server services) that need to connect with AbpZero (version >= 9.1). I have enabled identityserver4 with "client_credentials" as AllowedGrantTypes but Abp don't recognize as autheticated the token issued.
The problem is similiar to https://support.aspnetzero.com/QA/Questions/5145/API-call-requiring--Authirization-by-using-IdentityServer
These clients don't need user and password and I don't want to create many fake users beacuse isn't required permissions or roles. Only authentication is required. How can I obtain this requirements?
Thank you
I have enabled IdentityServer4 integration and I've noted that this issue is still present. https://support.aspnetzero.com/QA/Questions/7673/IDX10501-Signature-validation-failed---when-attempting-to-run-ConsoleApiClient
During debug sessions is very annoying beacuse ValidateToken in FrameworkJwtSecurityTokenHandler breaks the flow every time for failed validation. Have you solved it somehow?
Thank you
Hi, I need to run two or more instance of ABP (AspNetCore + Angular version >=9.1.0) hosted in Azure AppService (Docker or files deploy) with autobalancing. There are many things to consider when two instance are running simultaneously. AspnetZero provide a out-of-box solution for shared cache with native Redis support. But what about background and recurring jobs? And what about SignalR ? These services cannot run twice in the same time otherwise data locks, data duplicates and many other problems can happen.
How do you sugguest to setup AspNetZero to support this scenario? Thank you for your advices
I've found it. thank you
Hi, we are planning to migrate from version 7.x to 9.x (core 2.2 => core 3.1). As there are many improvements and changes , I need to evaluate all the changes to the framework. The log at https://docs.aspnetzero.com/en/common/latest/Change-Logs says that there is a full version but I don't know where is on github. Can you provide the link to the full change log ?
Thank you
Hi, has you know, when Windows 10 is shutdown, actually it enters in a semi hibernation state. When it is turned on again, all the events on modules (PreInitialize, Initialize, PostInitilized) are not raised. Worse, all quartz's triggers are still alives and so we loose many events. We have a very complex scenario and a dedicated procedure during initilization take care of "what should had been happened" while the server was turned off and after, creates the trigger. (Is not possible to use misfire configuration and we need the all triggers are destroyed) But, if the events never happens, we have a problems.
Do you have some advices about this "behaviour" ? How to recognize a shutdown and restart all the modules ?
Thank you.