Skip to content

atpons/github-token-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-token-proxy

Work In Progress

GitHub Apps installation token proxy

Server

The server performs JWT authentication and retrieves tokens from GitHub Apps.

Client

The client component is further divided into two tasks:

Creation of JWT: The client generates JWTs (JSON Web Tokens) for authentication purposes.

Token retrieval: The client obtains tokens from the server and acts as a Git Credential Helper.

Git Credential Helper functionality allows the client to assist Git in handling authentication.

Configuration

Git Credential Helper does not have an easy way to automatically detect the remote Organization and Repository of your own repository.

Therefore, you need to configure it separately for each remote, which means you need to write configurations for each remote you have.

[credential "https://github.com/atpons/github-token-proxy"]
        helper = !/path/to/github-token-proxy-helper -org=atpons -repo=github-token-proxy
        UseHttpPath = true

Why JWT?

We utilize JWT as an authentication backend to enable seamless utilization of SSH keys present on each machine.

The private key is supported in PEM format, while the public key is expected to be in a format recognized by OpenSSH.

By using this approach, we can seamlessly integrate the existing SSH workflows for authentication purposes.

About

Token Proxy from GitHub Apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages