Activities of "Johannes"

We fixed it, it was a problem with multitenancy.

The Identity.TwoFactorUserId cookie is included as seen here

  • ABP Framework version: v3.3.0
  • UI type: Angular
  • DB provider: EF Core

We've implemented our own login controller for use by an external app. The login endpoint uses the signinmanager: protected SignInManager<Volo.Abp.Identity.IdentityUser> SignInManager { get; } And logs in:

var signInResult = await SignInManager.PasswordSignInAsync(
                login.UserNameOrEmailAddress,
                login.Password,
                login.RememberMe,
                true
);

This works fine for users without 2-factor enabled. When 2-factor is enabled, we get the expected 2-factor cookie back:

Which we then provide in the header when calling a SendSmsSecurityCode endpoint.

This it where we get confused: SignInManager.GetTwoFactorAuthenticationUserAsync() returns null. How can this happen? Are we doing something wrong?

Alright, but if we'd like to modify the source for this, which module should we download the source for?

When expanding and minimizing categories in the menu by pressing the little arrow, the buttons appear with an animation. When expanding, the buttons are animated from top to bottom, but when minimizing they move from right to left. How and where in the source can we modify this behaviour? We'd like the minimizing to move from bottom to top.

  • ABP Framework version: v3.3.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no

Thank you, I think we can solve it now :)

Question
  • UI type: Angular

We would like to simplify the login process, by removing the need to specify tenant. Users will have to be unique across tenants, and the system will choose the tenant based on the username entered during login.

Can we get some pointers on how to achieve this functionality?

Thank you.

Answer

Does 3.1.1 only contain changes to the discussed bug? Do you post release notes somewhere?

We are getting the same bug in 3.1.0 that was reported in version 3.0.3 by thanhvl1@fsoft.com.vn:

Steps to reproduce:

  1. Created new project with abp suite 3.1.0, using EF, Angular, React
  2. Followed guide at https://docs.abp.io/en/abp/latest/Entity-Framework-Core-MySQL to switch to mysql
  3. Successfully migrated db, everything works
  4. Added the following entity in the suite (with only 1 string property):

Pressing save and generate fails.

We tried using just the "AuditedEntity" instead of "FullAuditedEntity" and this works correctly.

Showing 1 to 9 of 9 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09