Hi, could you please send an email to license@abp.io regarding this issue? This platform is focused on technical support, and licensing-related questions are best handled directly by our licensing team.
In your email, please include the following details to help us assist you faster:
NuGet.Config
file includes the https://nuget.abp.io
feed.appsettings.secrets.json
contains the AbpLicenseCode
(or any related configuration).Providing this information will help us identify and resolve the issue more efficiently.
Thanks for your understanding. Best regards.
[vkelwan] said: We already Run the Migrations for Both PostGres service and MongoDb Service. Also there is no option to provide permissions for role or user and also not appear in the database.
We also take reference from community post and also check sample code given in repository, but it did not helped me in sorting this out.
So help me.
Hi, by any chance, can you share your solution via email (to support@abp.io with the ticket number), so I can directly check it through your project?
Update: I'm able to reproduce this problem and created an internal issue (#20272).
[cstobler] said: Thanks for looking into this. I deleted all of the migrations, created a new one using the CLI, and the new migration was again empty:
I'm not sure what is going on here. I can delete the databases if necessary, like I said, there is no permanent data on there that needs to persist. But I'm not sure how to go about this in a way that will result in a clean slate. I checked your documentation and the book, and they both say to just run DbMigrator to create a new database, which worked for me in the beginning but obviously isn't working now.
Charlie
Sorry, I forgot to mention that. Yes, you should delete your database because otherwise EF Core looks into Migrations History table and thinks that all other migrations are already applied and needs to create a new one. If you delete your database or change the connection string and re-create a new migration, then it should fill up with all the database tables.
[cstobler] said: I zipped up my solution folder and sent it via email with the ticket number.
Additionally, not sure the best way to show this, but here are my tables so you can see that it doesn't have SaasTenants, or the other tables I was expecting:
My database is still being used for testing and can easily be recreated, so if we need to recreate it, that is totally fine.
Charlie
Hi again, thanks for sharing your project. I've downloaded and checked it. It seems the configurations are right, but weirdly, your migration structure was broken. As you indicated in your email, if the migrations are not important for you and if it's okay for you, you can delete all migrations and create a fresh migration, then you should be able to see the related database table in your database:
You can see the screenshot above as an example. I've deleted all migration files, and then created a new initial one. (Probably, since in the free version there are tenant related tables coming from the TenantManagement Module, it might cause some problems. Resetting the migrations fix the problem)
Regards.
[ademaygun] said: Hi Engincan, It did not allow login (this is expected behavior) only this warning message did not come. (MVC UI- Authorization Code Flow)
Okay, thanks for the clarification. I'll check this and write you back.
[smwasimraja@gmail.com] said: For Custom LastLogin Property, where exactly should I update this value after a user logs in? Should I do it by handling some login event, or do I need to override the login method somewhere?
If you have a small code example or can point me to the best place to add this logic, that would be great.
Hi, maybe you can write event handler for OpenIddict Events and for each signin or signout find the current user and update the related custom property. I have an article for OpenIddict Events, which you can check at https://abp.io/community/articles/customizing-authentication-flow-with-openiddict-events-in-abp-framework-e59qfi9n#gsc.tab=0
In this article, I've created a signout event handler, which is triggered on every signout. You need to do it for the signin event, and you can use OpenIddictServerEvents.ProcessSignOutContext
for that.
Please check the article and let me know if you need any help.
Regards.
I activated the Google external provider in one of my projects. If the user logs in with a local login when isActive=false, the warning "You are not allowed to log in! Your account is inactive or needs to confirm your email/phone number" is given. If the same user logs in with Google, they stay on the login page but the same warning message should come but it does not.
Hi, thanks for the update. Just to clarify, although there's no warning message, are you successfully logged in? Or is the issue purely visual, where the login works as expected but the UI doesn't reflect it (i.e., no success or warning messages displayed)?
Could you please confirm whether the problem is related only to the UI feedback or if the authentication itself is not functioning?
- I have typeof(SaasEntityFrameworkCoreModule) rather than typeof(AbpSaasEntityFrameworkCoreModule). I'm not sure what the difference here is or if I need to use the other one. It does look like it recognizes what I have there already. Advice would be appreciated.
SaasEntityFrameworkCoreModule
, this is coming from the Volo.Saas.EntityFrameworkCore
project (Saas Module) and it's needed, on the other hand, I don't know where AbpSaasEntityFrameworkCoreModule
is coming from. You can remove that if it's not created by you or is not used. (it's not used in the oss or commercial sides)
- builder.ConfigureSaas() is present in my DbContext.cs under OnModelCreating(). Weirdly, there were 3 identical builder.ConfigureSaas() lines, which additionally makes me think that something went wrong. Note that I removed these before trying, so that wasn't directly causing the problem.
It's weird to hear that. Having only one builder.ConfigureSaas()
is sufficient, you can remove the other redundant method calls. (I'll check this and create an issue for that)
- When I use "dotnet ef migrations add" to create a new migration, it just creates an empty migration. Technically I added Volo.Abp.LanguageManagement.EntityFrameworkCore from the article above, which then added things to my migration, but nothing related to the Saas tables that I need.
If it creates an empty migration that this means there is a missing configuration in the dbcontext class. Can you share your DbContext class? (or alternatively, you may share your project via email (to support@abp.io with ticket number)
[lucasmoreno] said: Thanks for the detailed explanation! I appreciate the guidance and understand that LeptonX supports basic collapsing and component replacement.
However, after reviewing the docs and experimenting with custom implementations, I’d like to highlight a gap:
🧭 Missing Guidance While the docs explain how to replace components in general (e.g., with AbpReplaceableComponentsOptions), there is no official step-by-step guide for replacing the sidebar while maintaining:
Compatibility with MainMenu, MenuItemViewModel and ABP’s permission system. Full behavior for inline + floating submenus depending on collapse state. Recommended patterns to build recursive menu trees with submenus, tooltips, or overlays tied to MenuItemViewModel. 🙏 What I need A reference implementation or working sample (even pseudo-code) that shows:
How to completely override the sidebar while preserving ABP integration. How to use MenuItemViewModel to render submenus conditionally (inline vs floating). Best practices when using LeptonX + Blazor for this type of dynamic UX. I’ve already built a working custom version, but it took significant effort due to the lack of official examples or reusable templates. Having proper guidance would help the community and improve productivity for others trying to build modern admin panels with ABP.
Thanks again — looking forward to your input!
Hi, we have internal issues to improve our LeptonX Theme documentation to cover customization in a wider aspect, and I understand that you want to have a working sample or pseudo-code for customizing components, but unfortunately, we don't have any existing sample for customization purposes (I'll create an issue for this).
Currently, the best solution for you is downloading the source code, and then examining the Sidebar components (Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/Components/ApplicationLayout/SideMenu/MainHeader) and modifying them to your needs.
If you run into issues during customization or have any specific questions, feel free to reach out! I’ll be happy to help.
Regards.