diff options
author | 2021-09-08 20:51:42 +0100 | |
---|---|---|
committer | 2021-09-08 20:51:42 +0100 | |
commit | 0ea131fd7b594a7647275f19150f90a0339a123c (patch) | |
tree | 4864c6d677d8960da11842ecbc7f265184ba5380 /vendor/github.com | |
parent | handle oauth token scope, fix user.SigninCount + token.UserID (diff) | |
download | gotosocial-0ea131fd7b594a7647275f19150f90a0339a123c.tar.xz |
update oauth library --> v4.3.2-SSB
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go b/vendor/github.com/superseriousbusiness/oauth2/v4/server/server.go index 46bf23822..252179de1 100644 --- 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") |