I tried setting up AuditLogging in IdentityServer4.STS.Identity project and inject IAuditEventLogger in custom AuditEventSink. But it breaks on startup at app.UseIdentityServer().
at Skoruba.AuditLogging.Events.Http.HttpAuditSubject..ctor(IHttpContextAccessor accessor, AuditHttpSubjectOptions options)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
Any plans to accomodate Identity server events to audit table?
sorry, I was supposed to post in the IdentityServer4.Admin repo :(
I tried setting up AuditLogging in IdentityServer4.STS.Identity project and inject IAuditEventLogger in custom AuditEventSink. But it breaks on startup at app.UseIdentityServer().
at Skoruba.AuditLogging.Events.Http.HttpAuditSubject..ctor(IHttpContextAccessor accessor, AuditHttpSubjectOptions options) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
Any plans to accomodate Identity server events to audit table?
sorry, I was supposed to post in the IdentityServer4.Admin repo :(