You can try Duende IdentityServer with your favourite client library. We have a test instance at demo.duendesoftware.
On the main page you can find instructions on how to configure your client and how to call an API.