Starts in:
2 DAYS
4 HRS
21 MIN
41 SEC
Starts in:
2 D
4 H
21 M
41 S

Activities of "464199480"

What's changes of your app.module.ts?

no change

Do you have other changes?

  1. abp new Acme.BookStore -t app-pro -u angular
  2. angular environment oAuthConfig responseType value change to password

connect/token response content:

This is normal. angular will handle it. I'm confirming the JSON issue.

i thinke problem in return value of userid

Before version 6.0, it looked like this: AB0D7FDD-5CFC-4D87-8151-F60A407D1BF4 Now it's not normal: AB0D7FDD5CFC4D878151F60A407D1BF4

oAuthConfig responseType value change to password

const oAuthConfig = {
  issuer: 'https://localhost:44315/',
  redirectUri: baseUrl,
  clientId: 'AookStore_App',
  responseType: 'password',
  scope: 'offline_access AookStore',
  requireHttps: true,
};

connect/token response content:

{
  "error": "invalid_grant",
  "error_description": "RequiresTwoFactor",
  "error_uri": "https://documentation.openiddict.com/errors/ID2024",
  "userId": "3a08d211853056ae830ab00738ba8ff2",
  "twoFactorToken": "CfDJ8MESOkCl5uN=="
}
{
   "token":"CfDJ8MESOkC",
   "userId":"3a08d211853056ae830ab00738ba8ff2",
   "provider":"Email"
}

  • ABP Framework version: 7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: "[11:55:01 WRN] ModelState is not valid! See ValidationErrors for details. Volo.Abp.Validation.AbpValidationException: ModelState is not valid! See ValidationErrors for details. at Volo.Abp.AspNetCore.Mvc.Validation.ModelStateValidator.Validate(ModelStateDictionary modelState) at Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) [11:55:01 WRN] There are 1 validation errors: The JSON value could not be converted to System.Guid. Path: $.userId | LineNumber: 0 | BytePositionInLine: 319. ($.userId)"
  • Steps to reproduce the issue:"
    1. abp new Acme.BookStore -t app-pro -u angular
    1. angular environment oAuthConfig responseType value change to password
    1. enable force two factor
    1. login your account

Yes. i using Lepton X. I have been able to work normally Thanks

Question

The angular ui opens the login screen to display blank content

  • ABP Framework version: 7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
    1. generate app project abp new Acme.BookStore -u angular
    1. run angular project
    1. navigation to http://localhost:4200/account/login
Showing 11 to 19 of 19 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06