Activities of "aqudah81"

Hi Anjali , Thanks for your help , but still not that what I want .

Based on documentation There are 3 verification providers available for 2FA out of the box: 1- Authenticator TOTP(Time-based One-time Password Algorithm) 2- Email Verification 3- SMS Verification

I need only to use Email Verification and SMS Verification . Is there anyway to disabled Authenticator TOTP option ?

Thanks

Hi Anjali , No I need to use two factor authentication but without Authenticator application . How we can disable or hide Authenticator application option ?

Thanks

Hello Anjali , Yes I checked this documentation , but what I want is to disable or hide Authenticator TOTP(Time-based One-time Password Algorithm) provider . So When we enable Two factor authentication from host just Email provider will appear .

Thanks

Hi maliming , Sure thing , Please find the link for the [Project ]

Thanks

Hi , Thanks for your support , but after apply this fix the error was gone but still the **UsersView **table don't return any data Although the two entices mapped to the same table .

Best regards

Hi , The relation is One-to-one with no navigations : protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity<Blog>() .HasOne<BlogHeader>() .WithOne() .HasForeignKey<BlogHeader>(e => e.BlogId) .IsRequired(); }

The two entities mapped to the same table. Also if we change it like this we still have the same error : b.HasOne<IdentityUser>().WithOne().HasForeignKey<IdentityUserView>(e => e.Id);

Please can you check this project after add new Entities Country and CountryView which also mapped to one Table "AppCountries" , you will see that the project work fine (after comment the ModelBuilder configuration for users).

Another important things the "DbMigrator" project also throw the same error when we run it (after uncomment the ModelBuilder configuration for users).

It's seems the issue is with **IdentityUser **class .

Thanks

Hi liangshiwei , The sample work fine int .Net 7 with EF7 , please find this console application .

Best regards

Hi , I can now reproduce the issue in clean instance for version 7.3.3 . The issue on AbpTestUpgrade733NewDbContext.cs in line 95 : b.ToTable(AbpAuditLoggingDbProperties.DbTablePrefix + "Users", AbpAuditLoggingDbProperties.DbSchema); If we comment this line the error will gone but we can't access IdentityUserView .

I will attach two files . The first one aspnet-core-V6-AbpV-6.0.0 will have the working sample from our code using abp version 6.

The second one aspnet-core-V7-AbpV-7.3.3 will have the working sample from our code using abp version 7.3.3. You can see the error on version 7.3.3 , also on file Index.cshtml.cs you will find a code to get data from **IdentityUser **entity and IdentityUserView

Note: in **IdentityUser **entity and IdentityUserView we want to map these two entities to the same table Users , it's work fine in abp V6 , but we got an error on abp V 7.3.3

Best regards

Hello Anjali, Thanks for your support , Actually I still have many errors after update my Angular project from 6.0.0 to 7.3.3 . Below my the steps that I took to upgrade my Angular project and modules : 1- Run command abp update --check-all in the root for two projects . 2- Run these command for Angular project and other two Angular modules to upgrade Angular from 14 to 16. ng update @angular/core@15 @angular/cli@15 --force ng update @angular-eslint/schematics@15 --force

     ng update @angular/core@16 @angular/cli@16 --force
 ng update @angular-eslint/schematics@16 --force
 

3- Run **yarn **command . 4- Apply changes in this link : https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-7_0 5- Run npm start

I got many errors you can find some of them on attached image and I will share a link that contain the full error logs

Errors logs : https://netorgft6685769-my.sharepoint.com/:w:/g/personal/anasaq_sanadcash_com/EZo6DxYjq0pPgLt1t-n1R8EBSkm5kcmX81MptlocS244bw?e=UBUVPP

Accounting Module :

- It's seems that issues is from <ngx-datatable control , is there any changes on @swimlane\ngx-datatable package after upgrade ?

This is my package.json file : { "name": "Expense", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve --open", "build": "ng build", "build:prod": "ng build --configuration production", "watch": "ng build --watch --configuration development", "test": "ng test", "lint": "ng lint", "compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules" }, "private": true, "dependencies": { "@abp/ng.account": "~7.3.3", "@abp/ng.components": "~7.3.3", "@abp/ng.core": "~7.3.3", "@abp/ng.oauth": "~7.3.3", "@abp/ng.identity": "~7.3.3", "@abp/ng.setting-management": "~7.3.3", "@abp/ng.tenant-management": "~7.3.3", "@abp/ng.theme.shared": "~7.3.3", "@abp/ng.theme.lepton-x": "~2.3.2", "@angular/animations": "^16.2.6", "@angular/common": "^16.2.6", "@angular/compiler": "^16.2.6", "@angular/core": "^16.2.6", "@angular/forms": "^16.2.6", "@angular/localize": "^16.2.6", "@angular/platform-browser": "^16.2.6", "@angular/platform-browser-dynamic": "^16.2.6", "@angular/router": "^16.2.6", "@boldreports/angular-reporting-components": "^5.2.27", "@syncfusion/ej2-angular-buttons": "^20.4.38", "@syncfusion/ej2-angular-calendars": "^20.4.38", "@syncfusion/ej2-angular-dropdowns": "^20.4.38", "@syncfusion/ej2-angular-image-editor": "^21.1.41", "@syncfusion/ej2-angular-inputs": "^20.4.38", "@syncfusion/ej2-angular-lists": "^20.4.38", "@syncfusion/ej2-angular-navigations": "^20.4.38", "@syncfusion/ej2-angular-pdfviewer": "^20.4.38", "@syncfusion/ej2-base": "^20.4.38", "@syncfusion/ej2-data": "^20.4.38", "@volo/abp.commercial.ng.ui": "~7.3.3", "@volo/abp.ng.account": "~7.3.3", "@volo/abp.ng.audit-logging": "~7.3.3", "@volo/abp.ng.gdpr": "~7.3.3", "@volo/abp.ng.identity": "~7.3.3", "@volo/abp.ng.identity-server": "~7.3.3", "@volo/abp.ng.language-management": "~7.3.3", "@volo/abp.ng.saas": "~7.3.3", "@volo/abp.ng.text-template-management": "~7.3.3", "@volosoft/abp.ng.theme.lepton-x": "^1.0.0-rc.7", "angular-ng-autocomplete": "^2.0.12", "angular2-query-builder": "^0.6.2", "cldr-data": "^36.0.1", "dayjs": "^1.11.2", "moment": "^2.29.3", "ng-http-caching": "^14.0.3", "ng-multiselect-dropdown": "^0.3.8", "object-hash": "^3.0.0", "rxjs": "7.8.1", "save-dev": "^0.0.1-security", "tslib": "^2.1.0", "typed-assert": "^1.0.9", "zone.js": "~0.13.3" }, "devDependencies": { "@abp/ng.schematics": "~7.3.3", "@angular-devkit/build-angular": "^16.2.3", "@angular-eslint/builder": "~16.2.0", "@angular-eslint/eslint-plugin": "~16.2.0", "@angular-eslint/eslint-plugin-template": "~16.2.0", "@angular-eslint/schematics": "~16.2.0", "@angular-eslint/template-parser": "~16.2.0", "@angular/cli": "^16.2.3", "@angular/compiler-cli": "^16.2.6", "@angular/language-service": "^16.2.6", "@boldreports/types": "^5.2.27", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.59.2", "eslint": "^8.39.0", "jasmine-core": "~4.0.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.1.0", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.7.0", "ng-packagr": "^16.2.3", "typescript": "~5.1.6" } }

And this the package.json for our Accounting Module :

{ "name": "Accounting", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve dev-app --open", "build": "ng build accounting --configuration production", "build:app": "npm run symlink:copy -- --no-watch && ng build dev-app --configuration production", "symlink:copy": "symlink copy --angular --packages @accounting --configuration production", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", "compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules --async false", "postinstall": "npm run compile:ivy" }, "private": true, "dependencies": { "@abp/ng.components": "~7.3.3", "@abp/ng.core": "~7.3.3", "@abp/ng.setting-management": "~7.3.3", "@abp/ng.theme.shared": "~7.3.3", "@volo/abp.commercial.ng.ui": "~7.3.3", "@volo/abp.ng.account": "~7.3.3", "@volo/abp.ng.audit-logging": "~7.3.3", "@volo/abp.ng.gdpr": "~7.3.3", "@volo/abp.ng.identity": "~7.3.3", "@volo/abp.ng.identity-server": "~7.3.3", "@volo/abp.ng.language-management": "~7.3.3", "@volo/abp.ng.saas": "~7.3.3", "@volo/abp.ng.text-template-management": "~7.3.3", "@volosoft/abp.ng.theme.lepton-x": "^1.0.0-rc.7", "@angular/animations": "^16.2.6", "@angular/common": "^16.2.6", "@angular/compiler": "^16.2.6", "@angular/core": "^16.2.6", "@angular/forms": "^16.2.6", "@angular/localize": "^16.2.6", "@angular/platform-browser-dynamic": "^16.2.6", "@angular/platform-browser": "^16.2.6", "@angular/router": "^16.2.6", "rxjs": "7.5.6", "tslib": "^2.1.0", "zone.js": "~0.13.3" }, "devDependencies": { "@abp/ng.schematics": "~7.3.3", "@angular-devkit/build-angular": "^16.2.3", "@angular-eslint/builder": "~16.2.0", "@angular-eslint/eslint-plugin": "~16.2.0", "@angular-eslint/eslint-plugin-template": "~16.2.0", "@angular-eslint/schematics": "~16.2.0", "@angular-eslint/template-parser": "~16.2.0", "@angular/cli": "^16.2.3", "@angular/compiler-cli": "^16.2.6", "@angular/language-service": "^16.2.6", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.59.2", "eslint": "^8.39.0", "jasmine-core": "~4.0.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.1.0", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.7.0", "ng-packagr": "^16.2.3", "typescript": "~5.1.6" } }

Thanks

Hi ,

I tried to prepare a project for Auth server that have this issue after remove our source code but the issue not appear . As you know I can't share our Company source code .

So can make a remote session with you to investigate on issue on real sample with easy steps . We can make this session any time if you can and I hope it will take a small time.

This is mt email : anasaq@sanadcash.com

Thanks

Showing 1 to 10 of 20 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30