You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the OAuth spec
https://datatracker.ietf.org/doc/html/rfc6749#section-6 when "Refreshing
an Access Token"
> The authorization server MUST ... require client authentication for
confidential clients
Fixes#21418
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
The OAuth authorization_code handler authenticates the client by validating the client secret
gitea/routers/web/auth/oauth.go
Lines 703 to 713 in 9862936
According to the OAuth spec https://datatracker.ietf.org/doc/html/rfc6749#section-6 , this should also happen when "Refreshing an Access Token"
but handleRefreshToken doesn't do this
gitea/routers/web/auth/oauth.go
Line 658 in 9862936
The text was updated successfully, but these errors were encountered: