aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 01:36:42 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 01:36:42 +0530
commitfc83df70b787e447bf31f4d99fa723c7e38544f2 (patch)
tree8098074d5fb7b920db0488af6fb4853f6d13d5ae /go.mod
parent616a151764fd1780eb0b6dc039d5a21539a8a01a (diff)
generating an access and refresh token upon login
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod4
1 files changed, 3 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index bc5c009..576ab67 100644
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,10 @@ go 1.21.0
require (
github.com/gin-gonic/gin v1.9.1
+ github.com/golang-jwt/jwt/v4 v4.5.0
+ github.com/golang-jwt/jwt/v5 v5.0.0
github.com/spf13/viper v1.16.0
+ golang.org/x/crypto v0.9.0
gorm.io/driver/mysql v1.5.1
gorm.io/gorm v1.25.4
)
@@ -40,7 +43,6 @@ require (
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
golang.org/x/arch v0.3.0 // indirect
- golang.org/x/crypto v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect