I should probably point out that I'm talking about an authentication framework which includes sessions etc.
I just can't see any other way for jwts granted by your service to be useful.
If it sounded like your service already exists as an open source solution with libraries for every language... I don't believe it does, it at least I don't know about it.
You could actually implement it with a module in keycloak, but you'd need to write the code yourself. Though it shouldn't be too hard
https://www.keycloak.org/
https://www.keycloak.org/downloads.html
There are community libraries for other languages as well.
And lots of code example for custom authentication flows like
https://github.com/stianst/keycloak-experimental/tree/master...
And an example implementing the auth flow with libraries for a webservice
https://github.com/houmie/sso/blob/master/src/app.py
(I'm unrelated to all links, just got them from quick Google searches)