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.
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.
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'.
"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"
}
}
After Upgrading API solution to Abp 6.0.3, getting "403 Forbidden" error while sending requests from Postman.
the below mentioned method is returning the data, the method controller have [Authorize] attribute.
Below method types, which are decorated with policies are giving the "403 Forbidden"* error.
Please guide us to resolve this issue.
Please assist.
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:
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:
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: