1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 05:04:39 +01:00
gitea/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>
2021-05-06 01:30:15 -04:00
..
admin
api/v1
dev
events
org
private
repo
routes Feature/oauth userinfo (#15721) 2021-05-06 01:30:15 -04:00
user Feature/oauth userinfo (#15721) 2021-05-06 01:30:15 -04:00
utils
home.go
init.go
install.go
metrics.go
swagger_json.go