gin-boilerplate icon indicating copy to clipboard operation
gin-boilerplate copied to clipboard

Ho to implement authentication?

Open bcodus opened this issue 3 years ago • 0 comments

I'm wondering if I save JWT as httpOnly cookie in browser,will it be secure enough? Or do I need to implement an extra anti-CSRF token to each form? A sample user user authentication/authorization code will be much appreciated.

bcodus avatar Nov 18 '21 17:11 bcodus