diff options
author | N. L. H <github@nlh-software.de> | 2021-05-06 07:30:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 01:30:15 -0400 |
commit | 45970ae82e478dd7d5f01fcc053de5df00198abc (patch) | |
tree | f4ff21156e83af743291774d2054704821d34aa3 /web_src | |
parent | 6a3ad0b24e6d0e859c2073126af429ef1892e712 (diff) | |
download | gitea-45970ae82e478dd7d5f01fcc053de5df00198abc.tar.gz gitea-45970ae82e478dd7d5f01fcc053de5df00198abc.zip |
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>
Diffstat (limited to 'web_src')
0 files changed, 0 insertions, 0 deletions