web3infra-foundation / mega

Mega is an unofficial open source implementation of Google Piper.
https://gitmega.dev
Apache License 2.0
168 stars 31 forks source link

[Mono HTTP Server] Implement Git HTTP Protocol Authentication #594

Closed benjamin-747 closed 2 weeks ago

benjamin-747 commented 1 month ago

The current mono Git HTTP server does not support authentication, so we have disabled HTTP push operations via a configuration. see issue #585 In practice, when GitHub login is used, mono should send a GitHub token to the client for authentication during API calls such as info/refs. This would allow secure HTTP operations while enabling push functionality when authenticated via GitHub.