hi
It is recommended to use a pfx or other Certificates in a production environment.
You should use the same certificate for multiple instances.
see https://abp.io/docs/latest/deployment/configuring-openiddict#production-environment
hi
Can you try to set up a valid SSL and run apps again.
If the problem still present, please share the logs.txt of the web, api and authserver websites.
liming.ma@volosoft.com
Thanks.
hi
Have you run the DbMigrator app to seed initial data to the database?
Please try to add a valid SSL certification.
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-dev-certs#examples
Then share the logs.txt of https://localhost:44315/ website to liming.ma@volosoft.com
Thanks.
ok, using a subdomain for each app will be fine.
Thanks.
hi
Can you try to use a subdomain instead of a sub-app?
https://www.example.com → Web Public
https://admin.example.com/ → Blazor Admin
https://api.example.com/ → API
https://auth.example.com/ → AuthServer
hi
services:
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3.12.7-management-alpine
ports:
- "15672:15672"
- "5672:5672"
Thanks @cvarela@ld
hi
Do you want to validate the 2FA in the /connect/token endpoint?
You can try to use the Resource Owner Password Flow in Angular, and check the http request and response
https://abp.io/docs/latest/framework/ui/angular/authorization#resource-owner-password-flow
Thanks.
hi
Have you used the same pfx in your multiple instance AuthServer/OpenIddict?
if (!hostingEnvironment.IsDevelopment())
{
PreConfigure<AbpOpenIddictAspNetCoreOptions>(options =>
{
options.AddDevelopmentEncryptionAndSigningCertificate = false;
});
PreConfigure<OpenIddictServerBuilder>(serverBuilder =>
{
serverBuilder.AddProductionEncryptionAndSigningCertificate("openiddict.pfx", "00000000-0000-0000-0000-000000000000");
});
}
Thanks.