Activities of "clearlaunch"

  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I would like to migrate a small application that is on an older version of the ASPNETBOILERPLATE foundation to the ABP.IO stack. I'm familiar with most of the middleware adjustments but I'm curious about the data migration.

When I go to migrate users, roles, tenants, etc.. Is there any guidance or info you can provide?

Do the two frameworks use similar password hashing algorithms, can I just copy users and password data from one system to the other or is that not going to work?

Question

I could use some advise on how to best implement SSO for a multi-tenant app. I have a legacy aspnetboilerplate application (react frontend) that is currently on version 5.1 of the framework which I believe is 3 major versions behind.

The app now wants to use SSO for at least one of the tenants that has thousands of users. So the options I'm trying to consider are:
A. Update the aspnetboilerplate to the latest version then setup idententity server.
B. Port the application to ABP.IO commercial and then use the SSO implementation in that framework. The application is relatively small so porting from aspnetboilerplate react to abp.io angular is doable but I don't want to add any unnecessary risk.

A few questions:
If the tenant in question is using ADFS does one of these approaches provide better integration?
I know aspnetboilerplate has tables for Organizational Units but I assume all of the management would have to be custom built. I believe ABP.io may already have functionality to use ADFS Organizational Units. I guess in my ideal configuration we could setup Organizational Units in ADFS to group the users. If ABP.IO Keeps that in sync then we should be able to setup roles and permissions for users of the Organizational units. That way new users just get created in ADFS, put into a group and then they inherit the correct permissions in the app.

Any thoughts, suggestions, questions?

  • ABP Framework version: v7.2.2
  • UI type: Angular - Lepton X
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:

Browser Console Error When Page Loads.

core.mjs:8400 ERROR TypeError: Expected a plugin class, but got object. Please verify that the plugin was imported and spelled correctly. at Uppy.use (index.js:1486:13) at Object.next (volo-abp.ng.file-management.mjs:984:18) at ConsumerObserver.next (Subscriber.js:91:33) at SafeSubscriber._next (Subscriber.js:60:26) at SafeSubscriber.next (Subscriber.js:31:18) at take.js:12:32 at OperatorSubscriber._next (OperatorSubscriber.js:13:21) at OperatorSubscriber.next (Subscriber.js:31:18) at map.js:7:24 at OperatorSubscriber._next (OperatorSubscriber.js:13:21) handleError @ core.mjs:8400 next @ core.mjs:24891 next @ Subscriber.js:91 _next @ Subscriber.js:60 next @ Subscriber.js:31 (anonymous) @ Subject.js:34 errorContext @ errorContext.js:19 next @ Subject.js:27 emit @ core.mjs:20900 (anonymous) @ core.mjs:24236 invoke @ zone.js:372 run @ zone.js:134 runOutsideAngular @ core.mjs:24109 onHandleError @ core.mjs:24236 handleError @ zone.js:376 runTask @ zone.js:181 invokeTask @ zone.js:487 ZoneTask.invoke @ zone.js:476 data.args.<computed> @ zone.js:2385 core.mjs:8400 ERROR TypeError: Cannot read properties of undefined (reading 'addEventListener') at isEventTarget (fromEvent.js:50:30) at fromEvent (fromEvent.js:18:27) at UploadService.initUppy (volo-abp.ng.file-management.mjs:1012:42) at Object.next (volo-abp.ng.file-management.mjs:1265:32) at ConsumerObserver.next (Subscriber.js:91:33) at SafeSubscriber._next (Subscriber.js:60:26) at SafeSubscriber.next (Subscriber.js:31:18) at take.js:12:32 at OperatorSubscriber._next (OperatorSubscriber.js:13:21) at OperatorSubscriber.next (Subscriber.js:31:18) handleError @ core.mjs:8400 next @ core.mjs:24891 next @ Subscriber.js:91 _next @ Subscriber.js:60 next @ Subscriber.js:31 (anonymous) @ Subject.js:34 errorContext @ errorContext.js:19 next @ Subject.js:27 emit @ core.mjs:20900 (anonymous) @ core.mjs:24236 invoke @ zone.js:372 run @ zone.js:134 runOutsideAngular @ core.mjs:24109 onHandleError @ core.mjs:24236 handleError @ zone.js:376 runTask @ zone.js:181 invokeTask @ zone.js:487 ZoneTask.invoke @ zone.js:476 data.args.<computed> @ zone.js:2385

  • Steps to reproduce the issue:"

Install FileUploadModule https://docs.abp.io/en/commercial/latest/modules/file-management Load the page Adding / Managing folders works The uploader does not come up when clicked on.

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

I want my new User ExtraProperties to show up on my Angular Registration page and Profile page.

I have already added new User ExtraProperties and they show up in the admin UI for users following this guide. https://docs.abp.io/en/abp/latest/Module-Entity-Extensions

I'm not sure what I need to do for the Account pages.

  • Do I need to pull in the source code for the account module, I would prefer not to?
  • Do I need to replace components?

The documentation is not clear in this area as far as I can tell and this is a very basic use case in my opinion.

In my Angular application I'm trying to call some code to initialize my application after a user has successfully logged in.

I was using the separate login pages from the server so I had this initialization in the AppModule since the user was being authenticated before starting the angular app.

Now I've switched to the login pages within angular so the AppModule creation happens before I know a user has successfully logged in.

Any suggestions on a single point of entry for Angular when a user has successfully finished login.

  • ABP Framework version: v5.1.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"!
  • LoginRedirects.PNG

This config works for Authorization Code Flow const oAuthConfig = { issuer: 'https://localhost:44329', redirectUri: baseUrl, clientId: 'TealTech_App', responseType: 'code', scope: 'offline_access TealTech', requireHttps: true, };

This config brings me to the login loop for Resource Owner Password Flow const oAuthConfig = { issuer: 'https://localhost:44329', // IdentityServer url clientId: 'TealTech_App', dummyClientSecret: 'secret pulled from [IdentityServerClientSecrets] table', scope: 'offline_access TealTech', }; **Is dummyClientSecret the proper key? I've also tried clientSecret but same behavior.

Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11