From 9729c0cc7d5d2f8f294c5d7a137ff4974abbb135 Mon Sep 17 00:00:00 2001 From: maliming Date: Tue, 10 Dec 2024 14:07:50 +0800 Subject: [PATCH 1/2] Update configuring-openIddict.md Resolve #5587 --- docs/en/deployment/configuring-openIddict.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/deployment/configuring-openIddict.md b/docs/en/deployment/configuring-openIddict.md index 30b8078098..6bcd329b45 100644 --- a/docs/en/deployment/configuring-openIddict.md +++ b/docs/en/deployment/configuring-openIddict.md @@ -4,6 +4,8 @@ This document introduces how to configure `OpenIddict` in the `AuthServer` proje There are different configurations in the `AuthServer` project for the `Development` and `Production` environments. +> If your solution does not include a project named `.AuthServer`, It means the project that depends on `AbpAccountPublicWebOpenIddictModule`. The project name can be `MyProject`, `MyProject.Web`, or `MyProject.HttpApi.Host`. They are both `Authentication Server` projects. + ````csharp public override void PreConfigureServices(ServiceConfigurationContext context) { @@ -38,6 +40,8 @@ To avoid that, consider creating self-signed certificates and storing them in th You can use the `dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-0000-0000-000000000000` command to generate the `openiddict.pfx` certificate. +> `openiddict.pfx` is just an example of a filename. You can use any filename for the pfx file. + > `00000000-0000-0000-0000-000000000000` is the password of the certificate, you can change it to any password you want. > Also, please remember to copy `openiddict.pfx` to the [Content Root Folder](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.hosting.ihostingenvironment.contentrootpath?view=aspnetcore-7.0) of the `AuthServer` website. From 97a764297871a51b089b575e1cdc1dda0297d631 Mon Sep 17 00:00:00 2001 From: Engincan VESKE Date: Tue, 10 Dec 2024 10:12:37 +0300 Subject: [PATCH 2/2] Update configuring-openIddict.md --- docs/en/deployment/configuring-openIddict.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/deployment/configuring-openIddict.md b/docs/en/deployment/configuring-openIddict.md index 6bcd329b45..08fcf7d143 100644 --- a/docs/en/deployment/configuring-openIddict.md +++ b/docs/en/deployment/configuring-openIddict.md @@ -4,7 +4,7 @@ This document introduces how to configure `OpenIddict` in the `AuthServer` proje There are different configurations in the `AuthServer` project for the `Development` and `Production` environments. -> If your solution does not include a project named `.AuthServer`, It means the project that depends on `AbpAccountPublicWebOpenIddictModule`. The project name can be `MyProject`, `MyProject.Web`, or `MyProject.HttpApi.Host`. They are both `Authentication Server` projects. +> If your solution does not include a project named `.AuthServer`, it means that you might have another project that depends on `AbpAccountPublicWebOpenIddictModule`. The project name can be `MyProject`, `MyProject.Web`, or `MyProject.HttpApi.Host`. They are both `Authentication Server` projects in that context. ````csharp public override void PreConfigureServices(ServiceConfigurationContext context)