I changed it in the host project only.
The actual fix was to change the launchsettings From: "applicationUrl": "http://localhost:22742/" To "applicationUrl": "http://127.0.0.1:22742/". Chrome seams to be careful about cookies set by localhost. Thanks.
I am login at this URL http://localhost:22742/Ui/Login
With these details default admin 123qwe true
When I step through the code I notice when it reaches the line below (in bold) the user object is null therefore it returns me to login over and over and over.
Kingly help me please
[DisableAuditing] public async Task<IActionResult> Index() { var model = new HomePageModel { LoginInformation = await _sessionCache.GetCurrentLoginInformationsAsync(), IsMultiTenancyEnabled = _multiTenancyConfig.IsEnabled };
{
return RedirectToAction("Login");
}
return View(model);
}
When I check the audit logs there is no error recorded. The angular app is working alright. This issue occurs when I try to login to the backend. My app version is 8.0.0 and my ABP 5.0.0 Thanks
Please I need help with this error that occures right after I click login on the home page after successfully lauch the Web.Host app :
An unhandled exception occurred while processing the request. AbpValidationException: Method arguments are not valid! See ValidationErrors for details. Abp.Runtime.Validation.Interception.MethodInvocationValidator.ThrowValidationError() AbpValidationException: Method arguments are not valid! See ValidationErrors for details. Abp.Runtime.Validation.Interception.MethodInvocationValidator.ThrowValidationError() Abp.Runtime.Validation.Interception.MethodInvocationValidator.Validate() Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) GraphQL.Server.Transports.AspNetCore.GraphQLHttpMiddleware<TSchema>.InvokeAsync(HttpContext context) Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware+<>c__DisplayClass0_0+<<UseJwtTokenMiddleware>b__0>d.MoveNext() Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
I have managed to resolve most of my issue and the application is running alright. I am still yet to try the mobile apps. And also be able to correct the typo in my project name. I also can find the quick nav control. Thanks
I have been able to run the application but am having challenges log into the backend, Tenancy name, User name or email, Password and there is no place to register. I also runned the angular app and am unable to login and the interface looks very much out of order same apply to the public website to. I am yet to try the mobile apps. I also made a typo in my project name and it seems there is no opprtunity to correct that. My main request is that I would like to run the default applications to look like the one in your online demo. Thanks for your assistance in this regard.