Activities of "maliming"

hi

Angular needs to read the claims from the access token, so we disabled it.

but you can enable it by setting DisableAccessTokenEncryption to false.

public override void PreConfigureServices(ServiceConfigurationContext context)
{
    PreConfigure<OpenIddictServerBuilder>(builder =>
    {
        builder.Configure(openIddictServerOptions =>
        {
            openIddictServerOptions.DisableAccessTokenEncryption = false;
        });
    }
}

hi

The first one is that after logging in, the CurrentUser data is filled correctly but the phone is Null !

Please check the value of AbpClaimTypes.PhoneNumber and AbpClaimTypes.PhoneNumberVerified. And check the Claim[] GetAllClaims of ICurrentUser

the result is "unsupported grant_type",

Please share the HTTP request and response info and logs.

Thanks.

hi

How can I reproduce this in a new template project? Please share the steps, Thanks

Answer

hi

Try to add @abp/zxcvbn to your package.json and then re-run abp install-libs.

hi

It might be azure's configuration, I don't know about that.

hi

What was the problem or error you got?

hi

Steps to reproduce the issue: Create new Module (Angular) using ABP suite Add Table that has a OrganizationUnit as a Foreign Key Add Migrations and try to run Angular to access the table via API call

Can you share this project to liming.ma@volosoft.com ?

Thanks.

hi

Can you try X509KeyStorageFlags?

return new X509Certificate2(file, passPhrase, X509KeyStorageFlags.MachineKeySet);

https://www.davidyardy.com/blog/windowscryptographicexception-the-system-cannot-find-the-file-specified

hi

You can try to add AccountService here

Showing 5561 to 5570 of 11539 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.