Commit graph

17 commits

Author SHA1 Message Date
Endymion Wight
b6053394ef
Added OAuth2 token refresher for Gitlab (#3215) 2022-06-14 10:46:35 +01:00
kit101
c9c1f82c7a
fixbug gitee provide refresher (#3168) 2021-12-19 12:45:19 +00:00
kit101
2b77d96600
Feat: implemented gitee client (#3156)
* Feature: implemented gitee client

implemented gitee client

* update Gitee struct

* inject netrc.Password when driver is gitee

* auto genarate gitee redirectURL

* update go-login and go-scm
2021-11-25 15:35:02 +00:00
cmj
74423bfacd Missing the strings library 2020-02-14 16:08:08 +08:00
cmj
3e74e30845 Fix bug when refresh gitea access token
When the URI has extra '/' in DRONE_GITEA_SERVER, the drone
	will not pull the repo since it cannot refresh the access token.
	The log in gitea shows the drone try to access '//login/oauth/access_token'

	Related to commit 5414bb75f
2020-02-14 16:06:58 +08:00
Toni Moreno
af34ac8b18 add http.Client with skipverify option to oauth renew token method, fix #2876 2019-11-16 10:46:27 +01:00
techknowlogick
448f1d54b4
rm basic auth option from Gitea 2019-06-05 17:36:10 -04:00
techknowlogick
6adbacd11c
update docs per feedback 2019-04-22 19:52:37 -04:00
techknowlogick
18b0959bbf
update per feedback 2019-04-22 19:50:31 -04:00
Matti Ranta
b7fc433b31
use switch case 2019-04-22 19:36:47 -04:00
techknowlogick
9ced52ab50
Refresh Gitea Oauth2 token 2019-04-22 16:54:25 -04:00
徐胖
1042b18716 fix some typos 2019-04-16 09:55:38 +08:00
techknowlogick
911f7c1e64
update per @appleboy feedback 2019-03-08 21:56:45 -05:00
techknowlogick
e4f5498850
pass redirect URL to Gitea 2019-03-08 14:35:41 -05:00
techknowlogick
63ba489310
Update inject_login.go 2019-03-08 13:38:20 -05:00
Matti Ranta
665398fb4f
Add Gitea Oauth
With fallback to basic auth if Gitea server does not support oauth
2019-03-08 12:22:20 -05:00
Brad Rydzewski
5b6a3d8ff4 squash and merge local branch 2019-02-19 15:56:41 -08:00