I'm not looking to update the Users UI, I'm Looking to update the user's profile page instead so the user can manage these new properties them selves.
My issues are very similar to this thread https://support.abp.io/QA/Questions/1404/Customizing-PersonalSettings-Personal-Info-page-not-working
My changes follow the thread above almost exactly. I have added a new tab that can display and update the extra properties, this part is done and working.
**My problem is with the Personal Info tab that has not been modified or replaced. That tab wipes out any extra properties on the object when a save is performed. ** ex. Extra properties are not passed when someone updates their name.
Some of the relevant bits aspnet-core\src\QRC.Application.Contracts\QRCDtoExtensions.cs ObjectExtensionManager.Instance .AddOrUpdateProperty<ProfileDto, UserProjectRole>("Project Role") .AddOrUpdateProperty<ProfileDto, string>("Zip Code") .AddOrUpdateProperty<ProfileDto, UserAgeRange>("Age Range") .AddOrUpdateProperty<UpdateProfileDto, UserProjectRole>("Project Role") .AddOrUpdateProperty<UpdateProfileDto, string>("Zip Code") .AddOrUpdateProperty<UpdateProfileDto, UserAgeRange>("Age Range");
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.
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.
I found the issue.
For some reason I had added canActivate: [AuthGuard, PermissionGuard], on all the routes in app-routing.module.ts
Looks like the login page is now working within Angular.
**Can you help with one small related question. ** If I need to run some code when a user successfully logs in where does that belong?
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.
AzureAD compile issue.
I've created a new MVC solution using 4.0 and I'm trying to test the AzureAD integration.
https://community.abp.io/articles/how-to-use-the-azure-active-directory-authentication-for-mvc-razor-page-applications-4603b9cf
When I try to follow this article or look at the sample code presented for the MVC AzureAD integration I get this compile error.
authenticationbuilder does not contain a definition for addidentityserverauthentication
The current documentation https://docs.abp.io/en/abp/latest/Modules/IdentityServer#identityserver-module
Just says TODO. Any pointers here.