Activities of "sraptis"

Yes,

we resolved it ourselves as I have described in my previous post.

You can host the API, OpenIdDict, and Blazor frontend in 3 different servers with 3 different IPs like having them in 3 docker images. Also, change the port of the webserver to something different than the standard 80 & 443. This way you will have the same environment.

Nevertheless, disregard the support ticket because I solved it myself. I have used HTTPS with real SSL certificates for all docker images and no port translation for the Blazor frontend.

Best regards,

Stavros Raptis

Good evening,

I have a major issue with ABP version 6 and the replacement of the Identity Server the OpenIdDict. The previous installation was running fine with the Identity Server using the workaround found here: https://community.abp.io/posts/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n and here https://blog.antosubash.com/posts/abp-deploy-with-docker#identityserver

Now with the OpenIdDict, I had a first obstacle with the access with HTTP and not HTTPS protocol. I have overcome this issue by adding builder.AddServer(options => { options.UseAspNetCore().DisableTransportSecurityRequirement(); }) ; at the PreConfigureServices section

But the problem with the SameSite Cookies still persists even if apply the workaround mentioned earlier. At the interface, I am getting an error message 400 after logging in, and at the log file of the blazor docker container I am getting:

[WRN] '.AspNetCore.Correlation.snwJ5koIUN71dN0WTYcB6WawM_nCoAaDVQVVy0KtEMU' cookie not found. [INF] Error from RemoteAuthentication: Correlation failed.. [ERR] An unhandled exception has occurred while executing the request. System.Exception: An error was encountered while handling the remote login.

and also

[WRN] The cookie 'XSRF-TOKEN' has set 'SameSite=None' and must also set 'Secure'.

Can you please help or even better update the posts with the workarounds so that they cover also the OpenIdDict server?

Thank you in advance,

Stavros Raptis

Thank you very much

Best regards,

Stavros

Good day,

we would like to have the Audit Log module write not the main database but to another one, in order to offload the main database from the logging. Is that possible?

Best regards,

Stavros Raptis I2QS

Answer

Hi again,

do you have any source code examples on GitHub? Any template? At the moment the existing database has more than 300 tables and applying this workaround to each table and testing it will take an eon. And it is not only the change of the primary key. The saas adds its own columns that in your scenario should be added manually. If you have a complete whitepaper of porting to ABP framework an existing database schema it will be more than welcome.

Best regards,

Stavros Raptis

Question

Dear all,

as a company, we have developed an application that uses an MSSQL database. This is the application we want to port using abp framework. Our question is: It is possible to use the current database keeping also the existing data? Mean to keep the schema with the same primary keys? (adding more columns needed by saas is not an issue) The primary key for each table is of the form [TableName][ID] e.g.: for the table Invoice the primary key is InvoiceID of type Integer

Thank you in advance,

Stavros Raptis on behalf of I2QS

Showing 1 to 7 of 7 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35