summaryrefslogtreecommitdiffstats
path: root/integrations/oauth_test.go
Commit message (Collapse)AuthorAgeFilesLines
* refactor: move from io/ioutil to io and os package (#17109)Eng Zer Jun2021-09-221-6/+6
| | | | | | | | | The io/ioutil package has been deprecated as of Go 1.16, see https://golang.org/doc/go1.16#ioutil. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add an abstract json layout to make it's easier to change json library (#16528)Lunny Xiao2021-07-241-5/+1
| | | | | | | | | | | * Add an abstract json layout to make it's easier to change json library * Fix import * Fix import sequence * Fix blank lines * Fix blank lines
* Migrate to use jsoniter instead of encoding/json (#14841)zeripath2021-03-011-1/+9
| | | | | | | | | | * Migrate to use jsoniter * fix tests * update gitea.com/go-chi/binding Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* Update docs and comments to remove macaron (#14491)Lunny Xiao2021-01-291-1/+1
|
* Introduce go chi web framework as frontend of macaron, so that we can move ↵Lunny Xiao2020-11-131-0/+12
| | | | | | | | | routes from macaron to chi step by step (#7420) * When route cannot be found on chi, go to macaron * Stick chi version to 1.5.0 * Follow router log setting
* Fix "data race" in testlogger (#9159)zeripath2019-11-261-10/+10
| | | | | | * Fix data race in testlogger * Update git_helper_for_declarative_test.go
* Add json tags for oauth2 form (#6627)Jonas Franz2019-04-151-1/+24
|
* Add option to disable refresh token invalidation (#6584)Jonas Franz2019-04-121-0/+41
| | | | | | | | | | | | | | | | | | * Add option to disable refresh token invalidation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add integration tests and remove wrong todos Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix typo Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix tests and add documentation Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add support for client basic auth for exchanging access tokens (#6293)Jonas Franz2019-03-111-0/+41
| | | | | | | | * Add support for client basic auth for exchanging access tokens * Improve error messages * Fix tests
* Integrate OAuth2 Provider (#5378)Jonas Franz2019-03-081-0/+138