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.
Yes, you don't need to change back-end code.
Hi,
ABP vnext is redesigned and cannot be used in aspnetzero project, but Volo.Abp.TextTemplating is open source : https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.TextTemplating. You can try to port to aspnetzero.
In addition you can open an feature request on aspnetboilerplate : https://github.com/aspnetboilerplate/aspnetboilerplate/issues/new
Hi,
Please see the document: https://identityserver4.readthedocs.io/en/latest/topics/refresh_tokens.html
Hi,
You can set the expiration time and use the refresh token to get a new access token