Activities of "maliming"

HI

This problem has been fixed.

PreConfigure<IdentityBuilder>(builder =>
{
    builder.Services.RemoveAll(x => x.ImplementationType == typeof(MaxUserCountValidator));
    builder.AddUserValidator<MyMaxUserCountValidator>();
});

using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Volo.Abp.Features;
using Volo.Abp.Identity.Features;

namespace Volo.Abp.Identity;

public class MyMaxUserCountValidator : IUserValidator<IdentityUser>
{
    protected IFeatureChecker FeatureChecker { get; }
    protected IIdentityUserRepository UserRepository { get; }

    public MyMaxUserCountValidator (IFeatureChecker featureChecker, IIdentityUserRepository userRepository)
    {
        FeatureChecker = featureChecker;
        UserRepository = userRepository;
    }

    public async Task<IdentityResult> ValidateAsync(UserManager<IdentityUser> manager, IdentityUser user)
    {
        await CheckMaxUserCountAsync(user);

        return IdentityResult.Success;
    }

    protected virtual async Task CheckMaxUserCountAsync(IdentityUser user)
    {
        var maxUserCount = await FeatureChecker.GetAsync<int>(IdentityProFeature.MaxUserCount);
        if (maxUserCount <= 0)
        {
            return;
        }

        var existUser = await UserRepository.FindAsync(user.Id);
        if (existUser == null)
        {
            var currentUserCount = await UserRepository.GetCountAsync();
            if (currentUserCount >= maxUserCount)
            {
                throw new BusinessException(IdentityProErrorCodes.MaximumUserCount)
                    .WithData("MaxUserCount", maxUserCount);
            }
        }
    }
}

I think the browser version is too low.

https://jquery.com/browser-support/ https://getbootstrap.com/docs/5.0/getting-started/browsers-devices/

Please check the console of IE

https://www.ibm.com/support/pages/how-use-ie-11-f12-developer-tools-capture-browser-console-log-and-network-log-omnibus-webgui

hi

This is right JSON of mongodb.

[
  {
    "_id": {"$binary": {"base64": "SFPE7JswPI6PCzoCvemr2w==", "subType": "03"}},
    "ConcurrencyStamp": "a412abf04f4049cc8125bec75ced62b2",
    "DefaultDocumentName": "Index",
    "DocumentStoreType": "GitHub",
    "Format": "md",
    "GitHubAccessToken": "ghp_xxx",
    "GitHubRootUrl": "https://github.com/simixsistemas/SuperMidia.Cloud.Docs/tree/main/",
    "GitHubUserAgent": null,
    "LatestVersionBranchName": null,
    "MainWebsiteUrl": null,
    "MinimumVersion": null,
    "Name": "Simix SuperMidia (GitHub)",
    "NavigationDocumentName": "docs-nav.json",
    "ParametersDocumentName": "docs-params.json",
    "ShortName": "cloud",
    "VersionBranchPrefix": null
  }
]

Within Internet Explorer, I still cannot login and cannot do anything.

Please check the console of IE. what's the version?

hi

We will check this.

hi

You should change the settings.

These are handled by ASP NET Core Identity by default. The data is stored in the UserLogins table.

There is no tenant exists. so no data are added in tenant db.

hi

UsePrivateKey is a method, not property. WithProperty only works for string properties.

You can override this service to use different AppleClientSecretfor different tenants.

https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/blob/990f1bbfdbe1716e1c2bb03722b67b9a24225c4a/src/AspNet.Security.OAuth.Apple/Internal/DefaultAppleClientSecretGenerator.cs#L15

Showing 9271 to 9280 of 11502 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.