Activities of "Repunjay"

Hi,

When I am trying to create a new project with ABP Template using below command, its not giving Separate IdentityServer Project. Command - abp new Tasconnect.AzureAD -csf --tiered -dbms PostgreSQL --ui angular --version 7.0.0

Please assist on this.

Hi Team, My Application is running on Dotnet Core APIS, Angular FE using ABP Commercial.

How to replace Identity Server with Okta/ Azure Active Directory/ SSO? is ABP supporting above mentioned integrations? if above mentioned integrations possible with my current application, Could you please provide documentation/guides/steps to do the same.

  • ABP Framework version: v4.3.1/7.x
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • ABP Framework version: v7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

While Migration Dotnet Core Solution ABP version from 6.0.3 to 7.0.0, as per migration guide abp is adding 2 new tables, so while running DbMigrator Project after changing the .Net framework version 7 and ABP Version to 7.0.0, I am getting below errors.

Note: Solution is upgraded to OpenIdDict.

  • ABP Framework version: v6.0.3
  • UI type: Angular v14
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. Updated Angular App to 14.
  2. Added theme styles in angular.json
  3. I am getting some volo abp related errors, so as per the below guide (https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-5_0-Angular), I have added the dependencies, but yarn command throwing an error.
  4. 5 Application is giving below errors, most of them related to Abp packages.

Most of the errors related to same pattern - Module '"@abp/ng.core"' has no exported member 'ProfileService'.

1 import { ConfigStateService, ProfileService, SubscriptionService } from '@abp/ng.core'; 2. "@volo/abp.ng.account/public"' has no exported member 'ProfileResponse'. 3. import { ConfigStateService, ProfileService, SubscriptionService } from '@abp/ng.core'; 4. error TS2305: Module '"@volo/abp.ng.account/public"' has no exported member 'ProfileResponse'. 5. import { Profile } from '@abp/ng.core'; 6. '"@abp/ng.core"' has no exported member 'ApplicationConfiguration'. 7. Module '"@abp/ng.core"' has no exported member 'Config'. 8. Module '"@abp/ng.core"' has no exported member 'ConfigState'. 9. Module '"@abp/ng.core"' has no exported member 'GetAppConfiguration'. 10. Module '"@abp/ng.core"' has no exported member 'SettingTabsService'.
11. : Cannot find module '@volo/abp.ng.account/public/volo-abp.ng.account-public' or its corresponding type declarations. 12. No suitable injection token for parameter 'settingTabs' of class 'AppComponent'. Consider using the @Inject decorator to specify an injection token. 13. import { MatOption } from '@angular/material/core/option/option'; 14. import { MatTabGroup } from '@angular/material/tabs/tab-group'; 15. Module '"@volo/abp.ng.identity"' has no exported member 'IdentityUserCreateDto'. 16. Module '"@volo/abp.ng.identity"' has no exported member 'IdentityUserDto'. 17. Module '"@volo/abp.ng.identity"' has no exported member 'IdentityUserService'. 18. Module '"@volo/abp.ng.identity"' has no exported member 'IdentityUserUpdateDto'. 19. Module '"@volo/abp.ng.identity"' has no exported member 'IdentityUserService'. 20. No suitable injection token for parameter 'identityUsersService' of class 'LockUserComponent'. Consider using the @Inject decorator to specify an injection token. 21. Module '"@volo/abp.ng.identity"' has no exported member 'GetIdentityUsersInput'. import { GetIdentityUsersInput, IdentityUserService } from '@volo/abp.ng.identity'; 22. : The class 'TwoFactorComponent' is listed in the declarations of the NgModule 'IdentityUsersModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator. 23. Cannot find module '@angular/material/tabs/tab-group' or its corresponding type declarations. 24. Cannot find module '@angular/material/tabs/tab-group' or its corresponding type declarations. import { MatTabGroup } from '@angular/material/tabs/tab-group'; 25. : Module '"@abp/ng.theme.shared"' has no exported member 'chartJsLoaded$'. import { chartJsLoaded$ } from '@abp/ng.theme.shared'; 26. error TS2305: Module '"@angular/compiler"' has no exported member 'flatten'. 27. Module '"@angular/compiler"' has no exported member 'ThrowStmt'. 28. Module '"@volo/abp.ng.identity"' has no exported member 'IdentitySecurityLogService'. 29. error TS2724: '"@volo/abp.ng.identity"' has no exported member named 'OrganizationUnitService'. Did you mean 'OrganizationUnitsState'? 30. Module '"@volo/abp.ng.identity"' has no exported member 'OrganizationUnitCreateDto'. 31. "@volo/abp.ng.identity"' has no exported member named 'OrganizationUnitService'. Did you mean 'OrganizationUnitsState'? 32. Module '"@abp/ng.core"' has no exported member 'ApplicationConfiguration'. import { ApplicationConfiguration, ConfigState } from '@abp/ng.core'; 33. : Module '"@abp/ng.core"' has no exported member 'ConfigState'. 34. Cannot find module 'snq' or its corresponding type declarations. import snq from 'snq'; 35. Module '"@volo/abp.ng.identity"' has no exported member 'GetIdentitySecurityLogListInput'. 36. Module '"@volo/abp.ng.identity"' has no exported member 'IdentitySecurityLogService'. 37. Module '"@abp/ng.core"' has no exported member 'GetAppConfiguration'.

  1. below is my package.json file dependencies list

"dependencies": { "@abp/ng.account": "^6.0.3", "@angular/animations": "^14.2.12", "@angular/cdk": "^14.2.7",
"@angular/common": "^14.2.12", "@angular/compiler": "^14.2.12", "@angular/core": "^14.2.12", "@angular/forms": "^14.2.12", "@angular/localize": "12", "@angular/material": "^14.2.7", "@angular/material-moment-adapter": "^14.2.7", "@angular/platform-browser": "^14.2.12", "@angular/platform-browser-dynamic": "^14.2.12", "@angular/router": "^14.2.12", "@microsoft/signalr": "^5.0.1", "@ngxs/store": "^3.7.6", "@techiediaries/ngx-qrcode": "^9.1.0", "@volo/abp.ng.account": "^6.0.3", "@volo/abp.ng.audit-logging": "^6.0.3", "@volo/abp.ng.identity": "^6.0.3", "@volo/abp.ng.identity-server": "^6.0.3", "@volo/abp.ng.language-management": "^6.0.3", "@volo/abp.ng.saas": "^6.0.3", "@volo/abp.ng.text-template-management": "^6.0.3", "@volo/abp.ng.theme.lepton": "^6.0.3", "ansi-regex": "^6.0.1", "chart.js": "^2.9.4", "crypto-js": "^4.1.1", "eventsource": "^2.0.2", "highcharts": "^10.2.1", "highcharts-angular": "^2.8.0", "highcharts-custom-events": "^3.0.9", "istanbul-reports": "^3.1.5", "jest": "^27.0.4", "jest-preset-angular": "^9.0.4", "lodash": "4.17.21", "minimist": "^1.2.6", "moment": "^2.29.4", "moment-timezone": "^0.5.40", "ng-zorro-antd": "15.0.3", "node-fetch": "^3.2.10", "nwsapi": "^2.2.2", "path-parse": "^1.0.7", "prompts": "^2.4.2", "rxjs": "~6.6.0", "tmpl": "^1.0.5", "tslib": "^2.5.0", "url-parse": "^1.5.10", "ws": "^8.12.0", "xlsx": "^0.17.0", "y18n": "^5.0.8", "zone.js": "~0.11.4" }, "devDependencies": { "@abp/ng.schematics": "^6.0.3", "@angular-devkit/build-angular": "^14.2.10", "@angular/cli": "^14.2.10", "@angular/compiler-cli": "^14.2.12", "@angular/language-service": "^14.2.12", "@ngxs/logger-plugin": "^3.6.2", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", "codelyzer": "^6.0.0", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.3.4", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.7.0", "ng-packagr": "^14.2.2", "ngxs-schematic": "1.1.9", "protractor": "~7.0.0", "ts-node": "~8.3.0", "tslint": "~6.1.0", "typescript": "~4.6.4" } }

  1. Need to update Angular App to OpenIdDict also.
  • ABP Framework version: v6.0.3
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

After Upgrading API solution to Abp 6.0.3, getting "403 Forbidden" error while sending requests from Postman.

  1. the below mentioned method is returning the data, the method controller have [Authorize] attribute.

  2. Below method types, which are decorated with policies are giving the "403 Forbidden"* error.

Please guide us to resolve this issue.

  • ABP Framework version: 4.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

After Upgrading Angular Application to version 13, facing the below issue.

  • ABP Framework version: v4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • We are trying to run ABP code inside container using ECS Fargate with port number 8000. But the container is not able to start and throwing errors - Failed to bind to http://[::]:80 and "Unable to start Kestrel". Wanted to confirm -
    1. Does the code requires port 80 to run inside container?
    1. What is cause of container failing? refer attached screenshot for error details

Please assist.

  • Steps to reproduce the issue:"

After upgrading from IdentityServer to OpenIdDict, to generate the token I am getting below scope is invalid error.

Old App - IdentityServerApiResourceScopes table have only two columns - ApiResourceId, Scope, but similar table from OpenIdDict is expecting too many columns as below.

is there any mechanism to migrating data from Identity server tables to opendict tables?

Note: We can't use db migrations at this time.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Severity Code Description Project File Line Suppression State Error NU1605 Detected package downgrade: Volo.Abp.Authorization from 6.0.3 to 6.0.2. Reference the package directly from the project to select a different version. SCV.Litmus.FinanceManagement.TestBase -> SCV.Litmus.FinanceManagement.Domain -> Volo.Abp.PermissionManagement.Domain.OpenIddict 6.0.3 -> Volo.Abp.PermissionManagement.Domain 6.0.3 -> Volo.Abp.Authorization (>= 6.0.3) SCV.Litmus.FinanceManagement.TestBase -> Volo.Abp.Authorization (>= 6.0.2) SCV.Litmus.FinanceManagement.TestBase C:\ABP Upgrade_6\SCV.Litmus\aspnet-core\modules\finance\test\SCV.Litmus.FinanceManagement.TestBase\SCV.Litmus.FinanceManagement.TestBase.csproj 1

I have upgraded the solution to 6.0.2, but yesterday abp released new version 6.0.3, now VS showing an build error to upgrade the package to 6.0.3. is it mandatory or any other solution to work with 6.0.2 version?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How to migrate Angular Ui from Identity Server to OpenIdDict

https://docs.abp.io/en/commercial/6.0/migration-guides/openIddict-angular is not given all steps to migrate from Identity Server to OpenIdDict, please provide the detailed migration guide.

How to update all the required packages of Identity Server to OpenIdDict in Angular App?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
Showing 1 to 10 of 47 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11