Can you share the error logs? Thanks.
Hi,
Here have an example : https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo, may can help you. Why you close this question? Did you resolve this?
See https://github.com/abpframework/abp/issues/394#issuecomment-683447380
Hi,
I think this is a big question. You can wait for https://support.abp.io/QA/Questions/361/What-is-the-estimated-timeline-for--'startup-template-to-create-microservices'#answer-efdd439d-15f8-4a83-d4b4-39f737902052
Hi,
Can you explain in detail? thanks.
Hi,
This is a problem.
Try to add the following code to the .identityserver
project:
public class FormTenantResolveContributor: HttpTenantResolveContributorBase
{
public const string ContributorName = "Form";
public override string Name => "Form";
protected override string GetTenantIdOrNameFromHttpContextOrNull(
ITenantResolveContext context,
HttpContext httpContext) => httpContext.Request?.Form[context.GetAbpAspNetCoreMultiTenancyOptions().TenantKey];
}
Configure<AbpTenantResolveOptions>(options =>
{
options.TenantResolvers.Add(new FormTenantResolveContributor());
});
Try to add the following code to the .Web
project:
.AddOpenIdConnect("oidc", options =>
{
//.......
options.Events = new OpenIdConnectEvents()
{
OnAuthorizationCodeReceived = receivedContext =>
{
if (receivedContext.Request.Cookies.ContainsKey("__tenant"))
{
receivedContext.TokenEndpointRequest.SetParameter("__tenant",
receivedContext.Request.Cookies["__tenant"]);
}
return Task.CompletedTask;
;
}
};
}
I will check it out.
Do you initialize seed data? try run the .DbMigrator
project.