yes, you must remove it
but I'm not calling external service every time, also why in log it is coming on login method?
Hi,
You can try search
Identityserver
keyword globally in your solution
Hi, I searched Identityserver but it is not there in the code, still it is there in logs.
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
Hi,
We will try to help you, but we are not OAuth experts.
ok, thank you.
Hi,
Is there any other alternate available other than openIddict and Identity server
openIddict and Identity server are the most popular libraries for NET, ABP currently only provides them as built-in
You can use any authorization server that supports OAuth, for example, KeyCloak https://github.com/abpframework/eShopOnAbp/pull/134
what is the roadmap to support openiddict from abp
ABP supports all features of openiddict, and will support new features of openiddict in the future
Hi, thank you for your response, if I replace OpenIddict with another OAuth, will I still get the abp support ?
thanks
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: NA
Hi,
Is there any other alternate available other than openIddict and Identity server? also, what is the roadmap to support openiddict from abp?
Thanks
Hi,
We changed the unit test codes in the template.
https://github.com/abpframework/abp/pull/17880/files
You can create a new project and refer to the application change to the existing project.
ok, I can still go with existing one? Or there will be any impact if I'll use existing.