nats-io / nats.c

A C client for NATS
Apache License 2.0
390 stars 137 forks source link

auth callout #716

Open thierryba opened 8 months ago

thierryba commented 8 months ago

Proposed change

Could we have the JWT and NKey API implemented so that we can implement an auth callout service in C? python has had am nkeys lib for years now but nothing I can see in C. Please correct me if I am wrong.

Use case

I was trying to implement the auth callout wit ha microservice in C. I got to the point where I am getting a request when a new client is trying to connect to my sats-server. But then, we're getting JWT and key related data. There are JWT libs out there but nothing for NKeys.

Contribution

I could be, wherever it helps.