Thank you for your answer, you may not have seen one of the section in the question: In short, the confirmuser page isn't provided as a node in our abp angular package (api/account/send-email-confirmation-token).
https://demo.abp.io/Account/ConfirmUser
This section isn't redirected to the frontend either.
Why does it work automatically on the Blazor side and not on the Angular side?
Hello,
I have followed all the steps mentioned, but my problem still persists. Can I get support from a representative?
Sincerely.
We have a configuration like this in our login section, this.checkRecaptcha() .pipe( switchMap(isValid => isValid ? this.authService .login(loginParams) .pipe(this.handleLoginError(loginParams)) .pipe( tap(() => { if (this.linkUser) { this.switchToLinkUser(); } }), ) : of(null), ), finalize(() => (this.inProgress = false)), ) .subscribe();
The handle error part is like this:
private handleLoginError(loginParams?: LoginParams) { return catchError(err => { const errorDescription = err.error?.error_description; debugger; switch (errorDescription) { case REQUIRES_TWO_FACTOR: { const data = {
...loginParams,
userId: err.error.userId,
};
this.securityCodeService.data = { ...data, twoFactorToken: err.error.twoFactorToken };
this.recoveryCodeService.data.set({ ...data });
return from(this.router.navigate(['/account/send-security-code']));
}
case PERIODICALLY_CHANGE_PASSWORD:
case RE_LOGIN_CONFIRMATION_TOKEN:
debugger;
case "You are not allowed to login! Your account is inactive or needs to confirm your email/phone number.":
const currentUserId = this.configStateService.getDeep('currentUser.id');//userid is not coming
It falls into this section, but the userid isn't returned. In this or a similar case, we need to retrieve the userid. We tried to get the userid from here because in the demo abp, the userid is expected in a dto like the following at the directed end (https://demo.abp.io/api/account/send-email-confirmation-token):
sendEmailConfirmationToken = (input: SendEmailConfirmationTokenDto, config?: Partial<Rest.Config>) =>
this.restService.request<any, void>({
method: 'POST',
url: '/api/app/custom-online-account/send-email-confirmation-token',
body: input,
,
{ apiName: this.apiName,...config });
In short, the confirmuser page isn't provided as a node in our abp angular package (api/account/send-email-confirmation-token).
https://demo.abp.io/Account/ConfirmUser This section isn't redirected to the frontend either.
Hello, I am receiving a 403 error when attempting to open Administration -> Settings -> Log Management Page. I have overridden the backend services, but the breakpoint is still not being reached due to the 403 error. Could you please assist me with this issue? Best regards.
[Dependency(ReplaceServices = true)] [ExposeServices(typeof(IAuditLogSettingsAppService))] public class AuditSettingsAppService : AuditLogSettingsAppService, IAuditLogSettingsAppService { public AuditSettingsAppService(ISettingManager settingManager) : base(settingManager) { }
public override Task<AuditLogSettingsDto> GetAsync()
{
return base.GetAsync();
}
public override Task<AuditLogGlobalSettingsDto> GetGlobalAsync()
{
return base.GetGlobalAsync();
}
}
Hello, Your solution worked, thank you. But I need the save() method in FeatureManagementComponent, can you share the source code? Best regards.
Hello, We have an ABP IO + Angular Project. From the Angular Project, I want to change the appearance of the page that is loaded into the pop-up window opened from the Administration -> Settings -> Feature Management -> Manage Host Features tab by applying CSS codes. I could not find this component in the Angular Project, how can I do this?
Hi,
Can we define extra variables on the Abp Suite Page? For example, can I define another bool variable like this example in the field I marked and access the value of this variable within the project?
Thanks.
ABP Framework version: v8.3.1 UI Type: Angular Database System: EF Core (PostgreSQL) Tiered (for MVC) or Auth Server Separated (for Angular): yes(Auth Server Separated for Angular) Exception message and full stack trace: Steps to reproduce the issue:
Hi,
We moved the login to the Angular project, but if email verification is required while logging in, it does not redirect to that page. When the login was working in Blazor, we had no problems going to the email verification page. What do we need to do to redirect to the email verification page in Angular?
Thanks.
ABP Framework version: v8.3.1 UI Type: Angular Database System: EF Core (PostgreSQL) Tiered (for MVC) or Auth Server Separated (for Angular): yes(Auth Server Separated for Angular) Exception message and full stack trace: Steps to reproduce the issue:
Hi,
In our Angular project, we have implemented a "Forgot My Password" page and included all necessary modules. However, when users click on the verification link, the Angular email verification page does not open as expected because the user is not authenticated. If the user is already logged in, they can access the page via the provided URL. However, this page should be accessible without requiring login, as it is intended for users who have forgotten their password and need to reset it via the link.
Thanks,
It appears that the page cannot be accessed without logging in. Could you please ensure that the login requirements are met, or provide further instructions on how to access the content.