Hi,
For example we might want to have main portal with subdomains like {tenantName}.portal.com but both API and AuthServer would have only one domain configured like api.com and auth.com.
Yes, it's possible, you can try it a try.
Hi,
Signing Certificate couldn't found: openiddict.pfx
You should put the openiddict.pfx
in the right place.
try
PreConfigure<OpenIddictServerBuilder>(serverBuilder =>
{
serverBuilder.AddSigningCertificate(GetSigningCertificate(hostingEnvironment, configuration));
serverBuilder.AddEncryptionCertificate(GetSigningCertificate(hostingEnvironment, configuration));
});
private X509Certificate2 GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration)
{
var fileName = "authserver.pfx";
var passPhrase = "a0166a3a-5ffb-4f53-a8d7-a699d3c3ce1e";
var file = Path.Combine(hostingEnv.ContentRootPath, fileName);
if (!File.Exists(file))
{
throw new FileNotFoundException($"Signing Certificate couldn't found: {file}");
}
return new X509Certificate2(file, passPhrase);
}
Hi,
I got it, I'm checking other people's questions, I'll check it out asap
Hi,
Still not, you can share the the repo link via email.
shiwei.liang@volosoft.com
Hi,
I didn't get the email from github.