Golang-JWT-Gin-Authentication-project icon indicating copy to clipboard operation
Golang-JWT-Gin-Authentication-project copied to clipboard

Results 6 Golang-JWT-Gin-Authentication-project issues
Sort by recently updated
recently updated
newest added

If signup route is open to everyone how do you prevent users just fill the user_type as ADMIN and have access to everything ?

There seems to be an issue where with recent versions of Gin, all endpoints get protected, even the `/api-1` and `/api-2` endpoints. When running the code in the repo with...

Instead of Rendering in AuthRouter we can go directly.

The first value of `count` is never used. Fixed that to check the email duplicate.

I fixed the email required from this `json:"email" validate:"email,required"` to `json:"email" validate:"required"` it was actually giving an error