OIDC Command Line Tool
An OpenID Connect (OIDC) command line client. Allowing you to create those “bearer tokens” without too much trouble.
For example:
oidc create confidential my-client --issuer https://example.com/realm --client-id foo --client-secret bar
And then:
http example.com/api "Authorization:$(oidc token my-client --bearer)"