Base solution for your next web application
Open Closed

User Service return [Identity.Duplicate user name] #7356


User avatar
0
instaemi created

Hi! I try to create new user for existing Username with latest ASP.Net Zero V4.5.0.0 (ASP.Net Core MVC + Jquery) application with indentity server,SAML Plugin also enabled in our project we get error message like that [Identity.Duplicate user name] previously User name '****' is already taken


7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    What is the abp version you are using? Is the language of your current application English or something else?

  • User Avatar
    0
    instaemi created

    we are using Abp.ZeroCore, Version=4.5.0.0, application version v6.9.1and English language

  • User Avatar
    0
    maliming created
    Support Team

    Can you share the complete error log?

  • User Avatar
    0
    instaemi created

    while create new user for existing user name we want where message need update or change

  • User Avatar
    0
    maliming created
    Support Team

    hi

    I don't know why your application Abp, AbpWeb, AbpZero localization source content is empty

    UserManager's CheckDuplicateUsernameOrEmailAddressAsync method uses AbpZero localization source.

    see: https://github.com/aspnetboilerplate/aspnetboilerplate/blob/1ba43bcda0c04a901c45eab43dd091ef668048df/src/Abp.ZeroCore/Authorization/Users/AbpUserManager.cs#L406

  • User Avatar
    0
    instaemi created

    we are using the default culture en-GB not en in that also Abp, AbpWeb, AbpZero localization not loaded how to resolve the problem

  • User Avatar
    0
    maliming created
    Support Team

    Yes, abp has not yet added the localization source of en-GB.

    You can add en-GB translations for the three localization sources above.

    See: https://aspnetboilerplate.com/Pages/Documents/Localization#extending-localization-sources

    If you have any questions, please continue to feedback.