Activities of "sumeyye.kurtulus"

Could you try again after removing one of these providers

// You can keep this
    provideThemeLeptonX(),
    provideSideMenuLayout(),
    
    // You can remove those
    importProvidersFrom(ThemeLeptonXModule.forRoot()),
    importProvidersFrom(SideMenuLayoutModule.forRoot()),

Hello again, I am glad that your problems are almost resolved. Could you clarify that you do not duplicate the theme providers in your app.config.ts?

//...
providers: [
  provideThemeLeptonX(),
  provideSideMenuLayout(),
  //You need to remove these if you have them
  //importProvidersFrom([
    //ThemeLeptonxModule.forRoot(),
    //SideMenuLayoutModule.forRoot()
  //])
]
//...

Hello again, thank you for providing extra details.

I have tried with the old cli as you have also did and encountered the problems you mentioned. We will be fixing them for the next cli release. Hence, we recommend you to use the new studio cli https://abp.io/docs/latest/studio since it provides more stable features compared to the old one.

If you want to solve the problems manually you will need to make these configurations, or I can send you a sample as well.

// app.config.ts
// ...

import { provideThemeLeptonX } from '@volosoft/abp.ng.theme.lepton-x';
import { provideSideMenuLayout } from '@volosoft/abp.ng.theme.lepton-x/layouts';

providers: [
	// remove this part
	// importProvidersFrom([
	//	ThemeLeptonxModule.forRoot(),
	//	SideMenuLayoutModule.forRoot()
	//])
	
	// use this intead
	  provideThemeLeptonX(),
    provideSideMenuLayout(),

]
// tsconfig.json
// ...
 "paths": {
      "@angular/*": ["node_modules/@angular/*"],
      "@abp/*": ["node_modules/@abp/*"],
      "@volo/*": ["node_modules/@volo/*"],
      "@volosoft/*": ["node_modules/@volosoft/*"],
      "@swimlane/*": ["node_modules/@swimlane/*"],
      "@ngx-validate/core": ["node_modules/@ngx-validate/core"],
      "@ng-bootstrap/ng-bootstrap": ["node_modules/@ng-bootstrap/ng-bootstrap"]
 },

On the contrary, if you still prefer using the application builder instead, you can remove the relative paths in tsconfig.json as a temporary workaround until we fix the problems.

You will also need to replace registerLocale with registerLocaleForEsBuild function here in this case.

// app.config.ts
provideAbpCore(
      withOptions({
        environment,
        registerLocaleFn: registerLocaleForEsBuild(),
      })
),

Thank you for your clarification.

The reason you see a difference between MVC and Angular is due to the authorization flow being used:

  • MVC app uses the Authorization Code Flow.
    • In this flow, the authentication happens on the server side.
    • When the backend detects that the user’s email is not confirmed, it can directly redirect to the /Account/ConfirmUser page (server-side redirect).
    • That’s why it just works automatically in the MVC app.
  • Angular app is a client-side SPA.
    • If you use Resource Owner Password Flow, the login happens entirely on the Angular side.
    • In this case, there is no server-side redirect — instead, the Angular client receives an error (e.g., inactive user / confirm email required), and it must decide how to handle it (e.g., call /api/account/send-email-confirmation-token and show a confirmation screen).
    • This is why the Angular package does not provide /Account/ConfirmUser out of the box.

In short:

  • Code Flow = backend handles redirects (Blazor, MVC, Razor Pages).
  • Password Flow = frontend must handle errors manually (Angular, SPA).

Here’s a reference explaining the difference between Code Flow and Password Flow in OAuth 2.0:

👉 Auth0 Docs – Authentication and Authorization Flows

Sure, that would be the best if you could provide a minimal example through my e-mail address: sumeyye.kurtulus@volosoft.com.

Hello,

In ABP, two-factor authentication (2FA) is an optional security feature that must be enabled per user. When enabled, after the username and password are verified, the backend does not immediately log the user in. Instead, it responds with a "RequiresTwoFactor" error along with the userId and twoFactorToken. The frontend must then guide the user through the “send security code” and “verify security code” steps to complete login. You can refer to this document: https://abp.io/docs/latest/modules/identity/two-factor-authentication

Normally, 2FA depends on the user having a confirmed email address or phone number, because the second factor is delivered through those channels (or via an authenticator app tied to a confirmed identity).

Could you please clarify:

  • How 2FA has been enabled for users who don’t have a confirmed email/phone?
  • Is 2FA a feature you want us to implement fully in this project, or should we focus only on the email/phone confirmation flow for now?

Thank you for your cooperation.

Could you please specify the cli version you use for creating the project?

Hello Marc,

I am glad to hear you were able to download the example project without any issues. Please feel free to take the time you need to review it — I will be happy to receive your feedback whenever it is convenient for you.

Regarding the Navbar problem, it could indeed be resolved by aligning the implementation with the example. If not, please open another ticket, and we will look into it further.

Thank you for the update, and I look forward to your thoughts once you have had a chance to explore the project.

Hello again,

Thank you for your patience and cooperation. We will be fixing this problem in the next patch version.

You can follow the process here: https://github.com/abpframework/abp/issues/23610, https://github.com/abpframework/abp/releases

Until then, I can suggest you to modify this file temporarily

// node_modules/@abp/ng.schematics/utils/model.js

exports.resolveAbpPackages = resolveAbpPackages;
function renamePropForTenant(interfaces) {
    for (const inters of interfaces) {
        for (const prop of inters.properties) {
            const isTenant = prop.name.toLocaleLowerCase().includes(constants_1.TENANT_KEY);
            const isSaasDto = prop.refs.filter(f => f.startsWith(constants_1.SAAS_NAMESPACE)).length > 0;
            // you need to add `!prop.type.startsWith('Saas')` to avoid duplication
            if (isTenant && isSaasDto && !prop.type.startsWith('Saas')) {
                prop.type = 'Saas' + prop.type;
            }
        }
    }
}

I am also processing a refund for your ticket.

Hello,

You can refer to this up-to-date documentation for custom layout usage for lepton-x components: https://abp.io/docs/latest/ui-themes/lepton-x/how-to-use-lepton-x-components-with-angular-custom-layout

Other than that I can replace the navbar and footer using this technique as it was the same in the previous versions:

export class AppComponent {
  replacableComponent = inject(ReplaceableComponentsService);

  constructor() {
    this.replacableComponent.add({
      key: eThemeLeptonXComponents.Navbar,
      component: MyNavbar,
    });
    this.replacableComponent.add({
      key: eThemeLeptonXComponents.Footer,
      component: MyFooter,
    });
  }
}

If you think that your problem is something else, I can assist you further.

Showing 91 to 100 of 493 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.