forgejo/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
main_test.go
notification.go
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