You can inject the OwinEnvironmentService into your user service’s ctor and then wrap it with an OwinContext.
Please have a look act following link. https://identityserver.github.io/Documentation/docsv2/advanced/owin.html
You can inject the OwinEnvironmentService into your user service’s ctor and then wrap it with an OwinContext.
Please have a look act following link. https://identityserver.github.io/Documentation/docsv2/advanced/owin.html