git-credential-oauth icon indicating copy to clipboard operation
git-credential-oauth copied to clipboard

Gitee support

Open hickford opened this issue 2 years ago • 2 comments

hickford avatar Jan 22 '23 11:01 hickford

Great job!

maikebing avatar Jan 23 '23 11:01 maikebing

@maikebing Thanks. I'll wait for Gitee to fix its issue with random ports before merging.

Until then, Gitee users can use the following config:

[credential "https://gitee.com"]
	oauthClientId = b5da229f85d94f5d728c43e429c69527fe2dcc387d4ffcb677b91c93983adaa3
	oauthClientSecret = a9f88c722f66e54184204efa0f49b960f2666947e0b14bd0d73a8c9c1c33c340
	oauthScopes = projects gists
	oauthAuthURL = /oauth/authorize
	oauthTokenURL = /oauth/token
	# workaround server confused by random ports
	oauthRedirectURL = http://127.0.0.1:53119

hickford avatar Jan 23 '23 20:01 hickford