commit 0ea131fd7b594a7647275f19150f90a0339a123c
parent d2a85f2f5fcadf8366ee611d7f10b3767277817b
Author: kim (grufwub) <grufwub@gmail.com>
Date: Wed, 8 Sep 2021 20:51:42 +0100
update oauth library --> v4.3.2-SSB
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat:
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/go.mod b/go.mod
@@ -44,7 +44,7 @@ require (
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.0
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203
- github.com/superseriousbusiness/oauth2/v4 v4.3.1-SSB
+ github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB
github.com/tdewolff/minify/v2 v2.9.21
github.com/tidwall/buntdb v1.2.4 // indirect
github.com/uptrace/bun v0.4.3
diff --git a/go.sum b/go.sum
@@ -412,8 +412,8 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203 h1:1SWXcTphBQjYGWRRxLFIAR1LVtQEj4eR7xPtyeOVM/c=
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203/go.mod h1:0Xw5cYMOYpgaWs+OOSx41ugycl2qvKTi9tlMMcZhFyY=
-github.com/superseriousbusiness/oauth2/v4 v4.3.1-SSB h1:O6t/BGa+cD18jVnSF3wjsdfBPACtrIEQAveYQaTneyM=
-github.com/superseriousbusiness/oauth2/v4 v4.3.1-SSB/go.mod h1:uYC/W92oVRJ49Vh1GcvTqpeFqHi+Ovrl2sMllQWRAEo=
+github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB h1:PtW2w6budTvRV2J5QAoSvThTHBuvh8t/+BXIZFAaBSc=
+github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB/go.mod h1:uYC/W92oVRJ49Vh1GcvTqpeFqHi+Ovrl2sMllQWRAEo=
github.com/tdewolff/minify/v2 v2.9.21 h1:nO4s1PEMy7aRjlIlbr3Jgr+bJby8QYuifa2Vs2f9lh4=
github.com/tdewolff/minify/v2 v2.9.21/go.mod h1:PoDBts2L7sCwUT28vTAlozGeD6qxjrrihtin4bR/RMM=
github.com/tdewolff/parse/v2 v2.5.19 h1:Kjaj3KQOx/4elIxlBSglus4E2oMfdROphvbq2b+OBZ0=
diff --git a/vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go b/vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go
@@ -352,6 +352,7 @@ func (s *Server) ValidationTokenRequest(r *http.Request) (oauth2.GrantType, *oau
tgr.UserID = userID
case oauth2.ClientCredentials:
tgr.Scope = r.FormValue("scope")
+ tgr.RedirectURI = r.FormValue("redirect_uri")
case oauth2.Refreshing:
tgr.Refresh = r.FormValue("refresh_token")
tgr.Scope = r.FormValue("scope")
diff --git a/vendor/modules.txt b/vendor/modules.txt
@@ -371,7 +371,7 @@ github.com/stretchr/testify/suite
# github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203
## explicit
github.com/superseriousbusiness/exifremove/pkg/exifremove
-# github.com/superseriousbusiness/oauth2/v4 v4.3.1-SSB
+# github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB
## explicit
github.com/superseriousbusiness/oauth2/v4
github.com/superseriousbusiness/oauth2/v4/errors