Open Closed

refresh token fail #5021


User avatar
0
xiexingen created
  • ABP Framework version: v7.1.0
  • UI type: react
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Volo.Abp.Domain.Entities.EntityNotFoundException: There is no such an entity. Entity type: Volo.Abp.OpenIddict.Authorizations.OpenIddictAuthorization, id: 7152010c-0dad-376a-e935-3a0b0889617a at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository3.GetAsync(TKey id, Boolean includeDetails, CancellationToken cancellationToken) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.OpenIddict.Tokens.AbpOpenIddictTokenStore.SetAuthorizationIdAsync(OpenIddictTokenModel token, String identifier, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictTokenManager1.PopulateAsync(TToken token, OpenIddictTokenDescriptor descriptor, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictTokenManager1.CreateAsync(OpenIddictTokenDescriptor descriptor, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictTokenManager`1.OpenIddict.Abstractions.IOpenIddictTokenManager.CreateAsync(OpenIddictTokenDescriptor descriptor, CancellationToken cancellationToken) at OpenIddict.Server.OpenIddictServerHandlers.Protection.CreateTokenEntry.HandleAsync(GenerateTokenContext context) at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context) at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context) at OpenIddict.Server.OpenIddictServerHandlers.GenerateAccessToken.HandleAsync(ProcessSignInContext context) at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context) at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context) at OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandler.SignInAsync(ClaimsPrincipal user, AuthenticationProperties properties) at Microsoft.AspNetCore.Authentication.AuthenticationService.SignInAsync(HttpContext context, String scheme, ClaimsPrincipal principal, AuthenticationProperties properties) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.

HEADERS

Accept: / Accept-Encoding: gzip, deflate, br Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjlBMzQ5RDQ2QzU0QUY5MDg5RjdFRDg0QzU3MzhFRjlGMDIxOEZGOEYiLCJ4NXQiOiJtalNkUnNWSy1RaWZmdGhNVnpqdm53SVlfNDgiLCJ0eXAiOiJhdCtqd3QifQ.eyJzdWIiOiIwNDI1NGQyOC1hZTI5LWMxYzMtMjllNC0zYTBhNGY4Njk5YTQiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbiIsImVtYWlsIjoiNjg0MDU1NUBxcS5jb20iLCJyb2xlIjoiYWRtaW4iLCJnaXZlbl9uYW1lIjoiYWRtaW4iLCJwaG9uZV9udW1iZXIiOiIxODY4MDI2MzQwOSIsInBob25lX251bWJlcl92ZXJpZmllZCI6IkZhbHNlIiwiZW1haWxfdmVyaWZpZWQiOiJGYWxzZSIsInVuaXF1ZV9uYW1lIjoiYWRtaW4iLCJvaV9wcnN0IjoiTWFuYWdlcl9BcHAiLCJvaV9hdV9pZCI6IjcxNTIwMTBjLTBkYWQtMzc2YS1lOTM1LTNhMGIwODg5NjE3YSIsImNsaWVudF9pZCI6Ik1hbmFnZXJfQXBwIiwib2lfdGtuX2lkIjoiZWYyN2UwNTItMzc4Mi0wNzhkLTQzZjYtM2EwYjA4ODk2MTdkIiwiYXVkIjoiTWFuYWdlciIsInNjb3BlIjoib2ZmbGluZV9hY2Nlc3MgTWFuYWdlciIsImp0aSI6IjRkZThhNjJkLTY0YTEtNDdmOS05Yjg5LTI5ZTY3MWY0MDM1MiIsImV4cCI6MTY4MzQ4NzA3MiwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6ODAwMC8iLCJpYXQiOjE2ODM0NjU0NzJ9.RWBnFhLx7Arsg41eUArr967XcmYRlo-G_zMSMCNuzC_OIQP_UPqttUmA5Qk0IKvC3zxPy3UVCabRpXvcKJfY3Lo7J0cfNeETsicT_YZGcAuiglE6juWuc9n8ZvILc0QFBAxYLVpXxXLPQhwm2xicxu8cjzi0O7zSutrZYpg56fNezuRECF5-buUXeVLvaXmltJhIzJluuGkEfmMjwx62BDbk4eFsyIvMcPS_JSzuELZe4F1oTV5UYEqW0R2pzHUdBEjX3CKy3saIiezOFglEabkIDn7MUlWI5UaaUK_e3ijPa-VF1xT0prldQzq1KxO8mSVyBGgN0buNYqEdf9xQLA Cache-Control: no-cache Connection: close Content-Length: 3055 Content-Type: application/x-www-form-urlencoded Host: localhost:8000 User-Agent: PostmanRuntime/7.31.1 postman-token: 70a6ca7b-be83-462c-8666-d29a0721d452 X-Correlation-Id: 3bbb066bf1184c8bb0d67e4069f4ecdc

  • Steps to reproduce the issue:"


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    How can I reproduce it in a new template project?

  • User Avatar
    0
    xiexingen created

    tks,I created a new project using Suite and found it was fine.

    The current project is an upgrade from 6.x

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19