hi
Can you try to add Authorize to your controller?DruidAI.Blazor.Controllers.APIController.GetNextReques
[Authorize(AuthenticationSchemes = "Bearer")]
public class YourController : Controller
{
}
: )
hi
The migration file looks no problem,
I'm sure you have update database with the migration file.
Please check the table columns in the database.
hi
You can restore a specific version of the packages by editing your YourProject.Web/package.json
add resolutions section and then run abp install-libs command.
{
"version": "0.1.0",
"name": "abpio-account-web",
"private": true,
"dependencies": {
/...
},
"resolutions": {
"jquery": "3.7.1",
"datatables.net": "1.13.8"
}
}
hi
Do you get any errors?
Please share the error info.
hi
ShowPII not working, Please set it on all websites.
add this line to all Program.cs files.
IdentityModelEventSource.ShowPII = true;
hi
I am unable to select other permission, just show only assigned role. How can I add more permission to user?
How can I reproduce this in a new template project?
3
Please set IdentityModelEventSource.ShowPII = true; in your application and re-share the logs. Thanks.
IDX10503: Signature validation failed. Token does not have a kid.
Keys tried: '[PII of type 'System.Text.StringBuilder' is hidden.
For more details, see https://aka.ms/IdentityModel/PII.]'.
Number of keys in TokenValidationParameters: '1'.
Number of keys in Configuration: '0'.
Exceptions caught:
'[PII of type 'System.String' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'.
token: '[PII of type 'Microsoft.IdentityModel.JsonWebTokens.JsonWebToken' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. See https://aka.ms/IDX10503 for details.
In fact, Your app can work without the jwtBearer authentication if you have the following code(AddValidation).
PreConfigure<OpenIddictBuilder>(builder =>
{
builder.AddValidation(options =>
{
options.AddAudiences("ProductManagement");
options.UseLocalServer();
options.UseAspNetCore();
options.Configure(validationOptions =>
{
// set validationOptions.TokenValidationParameters
});
});
});
hi jhsanc
Can you prepare a simple project? Then I will check it.
liming.ma@volosoft.com