mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-01 06:50:00 +00:00
update oauth library --> v4.3.2-SSB
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
parent
d2a85f2f5f
commit
0ea131fd7b
4 changed files with 5 additions and 4 deletions
2
go.mod
2
go.mod
|
@ -44,7 +44,7 @@ require (
|
||||||
github.com/sirupsen/logrus v1.8.1
|
github.com/sirupsen/logrus v1.8.1
|
||||||
github.com/stretchr/testify v1.7.0
|
github.com/stretchr/testify v1.7.0
|
||||||
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203
|
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/tdewolff/minify/v2 v2.9.21
|
||||||
github.com/tidwall/buntdb v1.2.4 // indirect
|
github.com/tidwall/buntdb v1.2.4 // indirect
|
||||||
github.com/uptrace/bun v0.4.3
|
github.com/uptrace/bun v0.4.3
|
||||||
|
|
4
go.sum
4
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/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 h1:1SWXcTphBQjYGWRRxLFIAR1LVtQEj4eR7xPtyeOVM/c=
|
||||||
github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203/go.mod h1:0Xw5cYMOYpgaWs+OOSx41ugycl2qvKTi9tlMMcZhFyY=
|
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.2-SSB h1:PtW2w6budTvRV2J5QAoSvThTHBuvh8t/+BXIZFAaBSc=
|
||||||
github.com/superseriousbusiness/oauth2/v4 v4.3.1-SSB/go.mod h1:uYC/W92oVRJ49Vh1GcvTqpeFqHi+Ovrl2sMllQWRAEo=
|
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 h1:nO4s1PEMy7aRjlIlbr3Jgr+bJby8QYuifa2Vs2f9lh4=
|
||||||
github.com/tdewolff/minify/v2 v2.9.21/go.mod h1:PoDBts2L7sCwUT28vTAlozGeD6qxjrrihtin4bR/RMM=
|
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=
|
github.com/tdewolff/parse/v2 v2.5.19 h1:Kjaj3KQOx/4elIxlBSglus4E2oMfdROphvbq2b+OBZ0=
|
||||||
|
|
1
vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go
generated
vendored
1
vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go
generated
vendored
|
@ -352,6 +352,7 @@ func (s *Server) ValidationTokenRequest(r *http.Request) (oauth2.GrantType, *oau
|
||||||
tgr.UserID = userID
|
tgr.UserID = userID
|
||||||
case oauth2.ClientCredentials:
|
case oauth2.ClientCredentials:
|
||||||
tgr.Scope = r.FormValue("scope")
|
tgr.Scope = r.FormValue("scope")
|
||||||
|
tgr.RedirectURI = r.FormValue("redirect_uri")
|
||||||
case oauth2.Refreshing:
|
case oauth2.Refreshing:
|
||||||
tgr.Refresh = r.FormValue("refresh_token")
|
tgr.Refresh = r.FormValue("refresh_token")
|
||||||
tgr.Scope = r.FormValue("scope")
|
tgr.Scope = r.FormValue("scope")
|
||||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -371,7 +371,7 @@ github.com/stretchr/testify/suite
|
||||||
# github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203
|
# github.com/superseriousbusiness/exifremove v0.0.0-20210330092427-6acd27eac203
|
||||||
## explicit
|
## explicit
|
||||||
github.com/superseriousbusiness/exifremove/pkg/exifremove
|
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
|
## explicit
|
||||||
github.com/superseriousbusiness/oauth2/v4
|
github.com/superseriousbusiness/oauth2/v4
|
||||||
github.com/superseriousbusiness/oauth2/v4/errors
|
github.com/superseriousbusiness/oauth2/v4/errors
|
||||||
|
|
Loading…
Reference in a new issue