0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:41:49 +01:00
gitea/routers/user
N. L. H 45970ae82e
Feature/oauth userinfo (#15721)
* Implemented userinfo #8534

* Make lint happy

* Add userinfo endpoint to openid-configuration

* Give an error when uid equals 0

* Implemented BearerTokenErrorCode handling

* instead of ctx.error use ctx.json so that clients
parse error and error_description correctly

* Removed unneeded if statement

* Use switch instead of subsequent if statements
Have a default for unknown errorcodes.

Co-authored-by: Nils Hillmann <hillmann@nlh-software.de>
Co-authored-by: nlhsoftware <nlhsoftware@noreply.localhost>
2021-05-06 01:30:15 -04:00
..
setting Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
auth.go Fixed several activation bugs (#15473) 2021-04-30 22:21:33 +02:00
auth_openid.go OAuth2 auto-register (#5123) 2021-04-14 14:02:12 +02:00
avatar.go Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) 2021-04-12 20:57:12 -04:00
home.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
home_test.go Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
oauth.go Feature/oauth userinfo (#15721) 2021-05-06 01:30:15 -04:00
profile.go add /assets as root dir of public files (#15219) 2021-04-28 12:35:06 +00:00
task.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00