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.
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.