forgejo/routers/user
N. L. H 45970ae82e
Feature/oauth userinfo ()
* Implemented userinfo 

* 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 () 2021-04-06 20:44:05 +01:00
auth.go Fixed several activation bugs () 2021-04-30 22:21:33 +02:00
auth_openid.go OAuth2 auto-register () 2021-04-14 14:02:12 +02:00
avatar.go Prevent NPE on avatar direct rendering if federated avatars disabled () 2021-04-12 20:57:12 -04:00
home.go Refactor renders () 2021-04-19 18:25:08 -04:00
home_test.go Issues overview should not show issues from archived repos () 2021-01-12 23:19:17 -05:00
main_test.go Unit tests for wiki routers () 2017-11-30 17:52:15 +02:00
notification.go Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL () 2021-02-19 22:36:43 +01:00
oauth.go Feature/oauth userinfo () 2021-05-06 01:30:15 -04:00
profile.go add /assets as root dir of public files () 2021-04-28 12:35:06 +00:00
task.go [refactor] replace int with httpStatusCodes () 2021-04-05 11:30:52 -04:00