hi
The framework will add it to access_token automatically. That is, if you don't change the code, it will be there.
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpUserClaimsPrincipalFactory.cs#L61
hi
Can you share the project or a simple project to reproduce this?
liming.ma@volosoft.com
hi
https://github.com/abpframework/abp/blob/dev/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/ExtensionGrantTypes/ITokenExtensionGrant.cs#L4
https://github.com/abpframework/abp/pull/18908
Thanks. I will update the document.
https://identityserver4.readthedocs.io/en/docs-preview/search.html?q=audience&check_keywords=yes&area=default
hi
Your JwtBearer requires an AccountService audience.
context.Services.AddAuthentication()
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
options.Audience = "AccountService";
});
but your access token doesn't have this audience.
By the way, does AccountService exist in your identity server?
hi
let's say i havn't modified any source code inside the modules, is there a clean way to wipe the source code and replace it with the newer version?
So you can remove and re-download it.
I see that the blazorise libarary that commercial version using is still on 1.3.x, can i upgrade it to 1.4.x?
Yes. We upgrade blazorise to 1.4.1 in abp v8.0
| Package | Old Version | New Version | | ------------------- | ----------- | ----------- | | Blazorise | 1.3.1 | 1.4.1 | | Blazorise.Bootstrap5 | 1.3.1 | 1.4.1 | | Blazorise.Icons.FontAwesome | 1.3.1 | 1.4.1 | | Blazorise.Components | 1.3.1 | 1.4.1 | | Blazorise.DataGrid | 1.3.1 | 1.4.1 | | Blazorise.Snackbar | 1.3.1 | 1.4.1 |