0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 18:55:17 +01:00
gitea/routers/web/auth
M Hickford 0e83ab8df7
Improve error descriptions for unauthorized_client (#21292)
Fixes #21282


As suggested by the [OAuth RFC](https://www.rfc-editor.org/rfc/rfc6749)
(quoted below), it's helpful to give more detail in the description

> error_description
OPTIONAL. Human-readable ASCII
[[USASCII](https://www.rfc-editor.org/rfc/rfc6749#ref-USASCII)] text
providing **additional information, used to assist the client developer
in understanding the error that occurred.**
Values for the "error_description" parameter MUST NOT include characters
outside the set %x20-21 / %x23-5B / %x5D-7E.
2022-09-28 15:10:27 -04:00
..
2fa.go
auth.go
linkaccount.go
main_test.go
oauth_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
oauth.go Improve error descriptions for unauthorized_client (#21292) 2022-09-28 15:10:27 -04:00
openid.go
password.go
webauthn.go