This may be a dumb question, but here goes :)
I have the following applications in this problem:
What I want to do, is to call a secured service on the WebApi from the IdentityServer, but in order to do so I require an access token.
How do I within the IdentityServer issue an access token to itself (which in order will be authenticated through itself from the WebApi)
IdentityServer includes an OWIN extension method that allows issuing tokens directly - no need to go through one of the protocol flows.
It is called IssueClientToken
and is documented here:
https://identityserver.github.io/Documentation/docsv2/advanced/owin.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With