jlewi / flaap

Federated Learning and Analytics Protocols
Apache License 2.0
0 stars 0 forks source link

CLI should cache OAuth refresh token in a file #37

Open jlewi opened 2 years ago

jlewi commented 2 years ago

Right now everytime the user invokes the CLI they have to through the OIDC WebFlow. This is rather inconvenient. We should cache the refresh token in a secure file so that it can be reused on subsequent CLI invocations.

Something like this https://github.com/kubeflow/internal-acls/blob/d957cafed925416074ab32c9ab8ca6e0a769b921/google_groups/pkg/gcp/credentials.go#L117