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.
forgejo/routers
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>
3 years ago
..
admin Move modules/forms to services/forms (#15305) 3 years ago
api/v1 Use route rather than use thus reducing the number of stack frames (#15301) 3 years ago
dev [refactor] replace int with httpStatusCodes (#15282) 3 years ago
events Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
org Unified link creation. (#15619) 3 years ago
private [refactor] replace int with httpStatusCodes (#15282) 3 years ago
repo fix some ui bug about draft release (#15137) 3 years ago
routes Feature/oauth userinfo (#15721) 3 years ago
user Feature/oauth userinfo (#15721) 3 years ago
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 3 years ago
home.go [refactor] replace int with httpStatusCodes (#15282) 3 years ago
init.go Refactor renders (#15175) 3 years ago
install.go Move modules/forms to services/forms (#15305) 3 years ago
metrics.go Move metrics from macaron to chi (#13601) 4 years ago
swagger_json.go [refactor] replace int with httpStatusCodes (#15282) 3 years ago