mlco2 / codecarbon

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

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

Closed prmths128 closed 2 months ago

prmths128 commented 2 months 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.