Ends in:
3 DAYS
15 HRS
23 MIN
40 SEC
Ends in:
3 D
15 H
23 M
40 S

Activities of "JanneHarju"

I will continue with solution I have with configurations. I will continue to listen this thread if you decide something.

No. My goal is to get verification link to work. Currently I need to add MVC settings to get it working even verification mail send is done via Angular front. In angular front there is (In your code)logic which check if responseType is code then use MVC and otherwise use Angular settings. I was guided to override that part of code to always use Angular settings. It seems to me to be little overkill. So maybe I just add those MVC settings for email verification which are mentioned eralier in this issue.

options.Applications["MVC"].Urls[AccountUrlNames.EmailConfirmation] =
	"account/email-confirmation";

Default value is MVC style link which is not working for Angular front. Initial problem was that there was no domain part in link. that was solved by adding:

options.Applications["MVC"].RootUrl = configuration["App:SelfUrl"];

So after all for me it seems that my initial fix to add those settings to MVC side is easiest way. Maybe not most correct way but it works. Replacing that much of code instead seems overkill. Is our setup somehow wrong or weird or why we have this problem? Or is it actually problem in your code and you will fix it on later versions? Is the problem with using angular and having separate Auth server? Does this combo make that problem?

About thre replacement mechanic. I found this guide but what should be key for PersonalSettingsEmailComponent? https://abp.io/docs/latest/framework/ui/angular/component-replacement#how-to-replace-a-component

Yep that works. thanks. I will now test how it works in our test environment.

Or if you can say what module contains it.

Where do I find this component? abp-personal-settings-verify-button I finally managed to try this solution and I don't find it anywhere.

So do you mean that I need to remove these parts from code an use Angular as static value here?

New page at new tab looks still just like any else page. And url is not auth server url. And when I click back to some else page from left navigation panel it goes there without any new tab opening. So is some auth server page integrated to angular page? If I look at generated html at F12 inspect view everything looks like angular page stuff with all those ng attributes and palceholders.

For me it looks like Angular.

{
    path: 'account',
    loadChildren: () => import('@volo/abp.ng.account/public').then(m => m.AccountPublicModule.forLazy()),
    canActivate: [authGuard],
  }

But for some reason it always open to new page when it is clicked. At menu provider there is this:

{
    id: eUserMenuItems.MyAccount,
    order: 100,
    textTemplate: {
      text: 'AbpAccount::MyAccount',
    },
    action: () => navigateToManageProfile(),
    visible: () => true
  }

navigateToManageProfile() values is from NAVIGATE_TO_MANAGE_PROFILE injection token which is not overrider by us. So it is as default value.

Showing 1 to 10 of 53 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35