Commit Graph

8 Commits (d5761262862288764bae91b7b8e56dcc8f009238)

Author SHA1 Message Date
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json ()
* 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>
Lunny Xiao 0cd87d64ff
Update docs and comments to remove macaron ()
Lunny Xiao c296f4fed6
Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step ()
* When route cannot be found on chi, go to macaron

* Stick chi version to 1.5.0

* Follow router log setting
zeripath 055f6d2296 Fix "data race" in testlogger ()
* Fix data race in testlogger

* Update git_helper_for_declarative_test.go
Jonas Franz 62d3f49c28 Add json tags for oauth2 form ()
Jonas Franz 783cd64927 Add option to disable refresh token invalidation ()
* 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>
Jonas Franz 2315019fef Add support for client basic auth for exchanging access tokens ()
* Add support for client basic auth for exchanging access tokens

* Improve error messages

* Fix tests
Jonas Franz e777c6bdc6 Integrate OAuth2 Provider ()