clienturl 能存储一个独立的域名,是abp自定义的一个string属性
redirecturl和postlogout_redirecturl是数组可以存储多个url,你只需要配置好这两个就可以。
openddict 支持一个客户端配置多个重定向url。
hi
Can you check the network panel in your browser(Angular app)?
If the browser cancels the request this request(https://localhost:44348/api/abp/application-configuration?includeLocalizationResources=false), then the backend will throw OperationCanceledException
Thanks.
Hi
The login, register will use cookies authentication. Only auth2 token will failed.
Thanks.
hi
No additional steps are needed. AddProductionEncryptionAndSigningCertificate is enough.
Thanks.
Yes
generate a pfx file:
dotnet dev-certs https -v -ep openiddict.pfx -p your_password
Use it in your authserver:
PreConfigure<OpenIddictServerBuilder>(serverBuilder =>
{
serverBuilder.AddProductionEncryptionAndSigningCertificate("openiddict.pfx", "your_password");
});
hi
using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
This line of code has a problem.
The Azure hosting environment does not allow your application to access the CurrentUser certificate store by default.
Can you try to use a pfx in the Azure environment?
see https://abp.io/docs/latest/deployment/configuring-openiddict#production-environment
Thanks.
Anytime. : )
: )