mlco2 / codecarbon

Track emissions from Compute and recommend ways to reduce their impact on the environment.
https://mlco2.github.io/codecarbon
MIT License
1.11k stars 173 forks source link

feat(cli,api) add auth to cli for new api #675

Closed prmths128 closed 1 week ago

prmths128 commented 1 week ago

WIP

TODO: add http://localhost:8080& to fief redir uri Needs public pkce oauth2 app on fief

This will add fief auth to the cli. This allows the user to manage the projects. And allow creating an api token to send emissions for a given project.