WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 44039148

(no title)

doshaa | 9 months ago

I use better auth for a real app

There is a plugin provided by better auth for jwt https://www.better-auth.com/docs/plugins/jwt

We dont need it since everything is a single "server" and cookies are good enough. JWT would be added complexity ( e.g sign out ) that i find it better to not be set as a default.

bonus reading http://cryto.net/~joepie91/blog/2016/06/19/stop-using-jwt-fo...

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com