No description
Find a file
2025-08-04 17:15:00 +00:00
gitconfigsample added sample 2025-08-04 17:15:00 +00:00
README.txt initial creation 2025-08-04 17:11:15 +00:00

This is a repo detailing how to connect with WTFxUS git via Oauth.
I haven't figured out how to get SSH or GPG key pushing yet so this is currently the default method.


REQUIRED: You must download and install "git-credential-oauth" from your package manager.


To start, login with your browser to https://git.whytheyfight.com.

Navigate to Settings/Applications

Scroll down to "Create a new OAuth2 application".

Give your application a name. i.e. "git-credential-oauth lily-hp"

For the redirect URI, enter in "http://127.0.0.1"

Uncheck the "Confidential Client" checkbox.

Click "Create Application".


From here, open a terminal and edit your .gitconfig in your home directory.

Add the necessary details from the .gitconfigsample from this repository. 

The most important sections are [credential] and [credential "https://git.whytheyfight.com"].

Under [credential https://git.whytheyfight.com], enter the ClientID you recieved 
from the Oauth2 Application page.

Save and exit .gitconfig after making these changes.


Now when you go to pull a git repo, the terminal should redirect to your web browser for authentication.

If after you sign in you receive an error page, make sure the url in the bar starts with "http" 
instead of "https" for the redirection back to your terminal to work properly.