getAlby / lndhub.go

Accounting wrapper for the Lightning Network. It provides separate accounts for end-users. (LndHub compatible API written in Go)
GNU General Public License v3.0
86 stars 23 forks source link

Support Readonly JWT #449

Open lukegao209 opened 11 months ago

lukegao209 commented 11 months ago

In some business cases, users only wish to query account information through JWT, but they do not want this JWT to also have the capability to perform transactions. This is because it would significantly increase the security requirements for storing the JWT. Therefore, a readonly JWT is very meaningful.