mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Backport #21351 This fixes error "unauthorized_client: invalid client secret" when client includes secret in Authorization header rather than request body. OAuth spec permits both: https://www.rfc-editor.org/rfc/rfc6749#section-2.3.1 Clients in possession of a client password MAY use the HTTP Basic authentication scheme ... Alternatively, the authorization server MAY support including the client credentials in the request-body Sanity validation that client id and client secret in request are consistent with Authorization header. Improve error descriptions. Error codes remain the same. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: zeripath <art27@cantab.net> |
2 years ago | |
---|---|---|
.. | ||
2fa.go | 3 years ago | |
auth.go | 3 years ago | |
linkaccount.go | 3 years ago | |
main_test.go | 3 years ago | |
oauth.go | 2 years ago | |
oauth_test.go | 3 years ago | |
openid.go | 3 years ago | |
password.go | 3 years ago | |
webauthn.go | 3 years ago |