hi cangunaydin
Can you share a project and steps to reproduce the problem? [email protected]
You can copy your code to the demo project.
hi cangunaydin
I don't think you need to create additional interceptors and attributes.
You can continue to use abpauthorize
, you need to try to authenticate the second jwt in startup.
app.UseAuthentication();
app.UseJwtTokenMiddleware();
app.UseJwtTokenMiddleware("AssociateBearer");
The ConfigureServices
method of startup
class.
services.PostConfigure<MvcOptions>(mvcOptions =>
{
mvcOptions.Conventions.RemoveType<AbpAppServiceConvention>();
mvcOptions.Conventions.Add(new MyAbpAppServiceConvention(services));
});
The MyAbpAppServiceConvention
:
https://gist.github.com/maliming/b252b1cf23db538769e87f7434945057
hi
Can you try to the code of this PR? https://github.com/aspnetboilerplate/aspnetboilerplate/pull/6114
hi kansoftware
There is no sample at the moment, you can try to get help on Google or identity server community.
https://github.com/aspnetzero/aspnet-zero-core/pull/3764
hi @conzepta
I will add some comment to IDesignTimeDbContextFactory
hi @Raj
I successfully integrated it, you can check the discussion above.
if you got a problem, you can create a new question, I will try to help you. : )
hi mahendra
But I think the framework will automatically update the cache, you can try it.
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/552c0240c44d9899c1209fb20eb48d35b17d5e54/src/Abp.Zero.Common/Localization/MultiTenantLocalizationDictionaryCacheHelper.cs#L16
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/552c0240c44d9899c1209fb20eb48d35b17d5e54/src/Abp.Zero.Common/Localization/MultiTenantLocalizationDictionaryCacheCleaner.cs#L11