ABP Framework version: v8.1.1
UI Type:React
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): yes
Exception message and full stack trace: NA
Steps to reproduce the issue: IdentityServer to OpenIddict migration
Hi, I have recently migrated identity server to OpenIddict but in stack trace I found IdentityServer4 is being used, sharing the below log:
Microsoft.AspNetCore.Http.DefaultHttpResponse.Redirect()
Microsoft.AspNetCore.Http.HttpResponse.Redirect()
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents.<>c.<.ctor>b__45_8()
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationEvents.RedirectToReturnUrl()
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.<ApplyHeaders>d__28.MoveNext()
System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start()
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.ApplyHeaders()
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.<HandleSignInAsync>d__26.MoveNext()
System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start()
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.HandleSignInAsync()
Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler1[TOptions].SignInAsync() Microsoft.AspNetCore.Authentication.AuthenticationService.<SignInAsync>d__17.MoveNext() System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start() System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start() Microsoft.AspNetCore.Authentication.AuthenticationService.SignInAsync() **IdentityServer4**.Hosting.IdentityServerAuthenticationService.<SignInAsync>d__8.MoveNext() System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start() System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start() **IdentityServer4**.Hosting.IdentityServerAuthenticationService.SignInAsync() Microsoft.AspNetCore.Identity.SignInManager
1.<SignInWithClaimsAsync>d__33[TUser].MoveNext()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox
1[TResult,TStateMachine].ExecutionContextCallback()
System.Threading.ExecutionContext.RunInternal()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox
1[TResult,TStateMachine].MoveNext()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox
1[TResult,TStateMachine].MoveNext()
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction()
System.Threading.Tasks.Task.RunContinuations()
System.Threading.Tasks.Task.FinishContinuations()
System.Threading.Tasks.Task1[TResult].TrySetResult() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1[TResult].SetExistingTaskResult()
Microsoft.AspNetCore.Identity.SignInManager1.<CreateUserPrincipalAsync>d__26[TUser].MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.AsyncStateMachineBox1[TResult,TStateMachine].ExecutionContextCallback() System.Threading.ExecutionContext.RunInternal() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.AsyncStateMachineBox1[TResult,TStateMachine].MoveNext() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.AsyncStateMachineBox1[TResult,TStateMachine].MoveNext() System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction() System.Threading.Tasks.Task.RunContinuations() System.Threading.Tasks.Task.FinishContinuations() System.Threading.Tasks.Task
1[TResult].TrySetResult()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].SetExistingTaskResult() Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter
1.<InterceptAsync>d__31[TInterceptor,TResult].MoveNext() System.Threading.ExecutionContext.RunInternal() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.AsyncStateMachineBox1[TResult,TStateMachine].MoveNext() System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction() System.Threading.Tasks.Task.RunContinuations() System.Threading.Tasks.Task.FinishContinuations() System.Threading.Tasks.Task
1[TResult].TrySetResult()
Volo.Abp.Uow.UnitOfWorkInterceptor.<InterceptAsync>d__2.MoveNext()
System.Threading.ExecutionContext.RunInternal()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox
1[TResult,TStateMachine].MoveNext()
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction()
System.Threading.Tasks.Task.RunContinuations()
System.Threading.Tasks.Task.FinishContinuations()
System.Threading.Tasks.Task1[TResult].TrySetResult() Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue
1.<ProceedAsync>d__7[TResult].MoveNext()
System.Threading.ExecutionContext.RunInternal()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox
1[TResult,TStateMachine].MoveNext()
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction()
System.Threading.Tasks.Task.RunContinuations()
System.Threading.Tasks.Task.FinishContinuations()
System.Threading.Tasks.Task1[TResult].TrySetResult() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1[TResult].SetExistingTaskResult()
Castle.DynamicProxy.AsyncInterceptorBase.<ProceedAsynchronous>d__141[TResult].MoveNext() System.Threading.ExecutionContext.RunInternal() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.AsyncStateMachineBox1[TResult,TStateMachine].MoveNext() System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction() System.Threading.Tasks.Task.RunContinuations() System.Threading.Tasks.Task.FinishContinuations() System.Threading.Tasks.Task
1[TResult].TrySetResult()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].SetExistingTaskResult() eFC.IdentityServer.eFCUserClaimFactory.<CreateAsync>d__4.MoveNext(eFCUserClaimFactory.cs:73) System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.AsyncStateMachineBox1[TResult,TStateMachine].ExecutionContextCallback() System.Threading.ExecutionContext.RunInternal() System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.AsyncStateMachineBox`1[TResult,TStateMachine].MoveNext()
Can you please help me to understand why Identityserver4 is still there, I have removed all Identityserver refrence from my solution.
Thanks
7 Answer(s)
-
0
Hi,
You can try search
Identityserver
keyword globally in your solution -
0
Hi,
You can try search
Identityserver
keyword globally in your solutionHi, I searched Identityserver but it is not there in the code, still it is there in logs.
-
0
-
0
-
0
yes, you must remove it
-
0
yes, you must remove it
but I'm not calling external service every time, also why in log it is coming on login method?
-
0
Hi,
sorry, i have no idea because i don't know about your project details