Skip to content

gitea: support git credential manager oauth flow#800

Open
cmruffin wants to merge 1 commit into
linuxserver:masterfrom
cmruffin:master
Open

gitea: support git credential manager oauth flow#800
cmruffin wants to merge 1 commit into
linuxserver:masterfrom
cmruffin:master

Conversation

@cmruffin
Copy link
Copy Markdown

linuxserver.io


  • [X ] I have read the contributing guideline and understand that I have made the correct modifications

Description

git credential manager sets up an oauth flow which requires a redirect to a localhost port to complete the oauth flow. The proxt_redirect http:// scheme$:// directive in proxy.conf causes this to be rewritten to https://. Make an exception for redirects to localhost so that the oauth login will complete.

Benefits of this PR and context

git operations using the git credential manager with gitea can successfully set up oauth tokens.

How Has This Been Tested?

Test git clone / git fetch operations that initiate an oauth login using git for windows default installation which uses git credential manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants