Activities of "Femi.madariola"

Hello Team

I have a solution that consists of:

  • one main application template (Main) and
  • one module application (Account) exposed via an Http.Api.host
  • and an identity server seperatated used by both other applications.

What is the best way to get the list of users from the module application (Account) because I have a grid that I need to show the list of users that performed certain activities. I got the user's ID when the action was performed from the "CurrentUser.Id" property.

Also how do I check or get the roles of the user from the Module application (Account) to confirm if the authenticated user has a certain role from the Identity server. When I check the user's role, it is currently blank.

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

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I have deployed the Identity Server to Azure Appservice.

When we try to get a token from the service using (/connect/token), it is quite erratic (i.e. it works some times and atimes it doesn't work (times out no error message)). When it works, it also behaves in an erratic fashion (i.e. can be very fast and also very slow atimes).

Is there something I can do to make it faster.

When an account is registered, I want the user's first name and last name to be amongst the information that is collected.

When registering a new account, only the email address, username, password and appname are collected. The implication is that new users that register don't have a first name and last name at the point of registration.

Hence, I want to extend the api/account/register to accept a First name and Last name. { "userName": "string", "emailAddress": "user@example.com", "password": "string", "appName": "string", "returnUrl": "string", "returnUrlHash": "string", "captchaResponse": "string" }

How do I go about this and also what is the "appName" property?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hello I am trying to create a new application template from AbpSuite. I constantly get the error below when I try to log into the angular project. Please what do I do?

2020-11-11 15:13:46.245 +01:00 [ERR] An unhandled exception has occurred while executing the request. Volo.Abp.BusinessException: Tenant not found! at Volo.Abp.MultiTenancy.TenantConfigurationProvider.GetAsync(Boolean saveResolveResult) at Volo.Abp.Account.Public.Web.ExternalProviders.AccountExternalProviderOptionsFactory1.OverrideOptionsAsync(String name, TOptions options) at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.Run(Func1 action) at Volo.Abp.Threading.AsyncHelper.RunSync(Func1 action) at Volo.Abp.Account.Public.Web.ExternalProviders.AccountExternalProviderOptionsFactory1.Create(String name) at Volo.Abp.Account.Public.Web.ExternalProviders.AccountExternalProviderOptionsMonitor1.Get(String name) at Microsoft.AspNetCore.Authentication.AuthenticationHandler1.InitializeAsync(AuthenticationScheme scheme, HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider.GetHandlerAsync(HttpContext context, String authenticationScheme) at IdentityServer4.Hosting.FederatedSignOut.FederatedSignoutAuthenticationHandlerProvider.GetHandlerAsync(HttpContext context, String authenticationScheme) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_1.<<UseMiddlewareInterface>b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

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