✨ feat(cli): add token and auth uri config options
- allow users to configure token_uri and auth_uri in config file - add default values for token_uri and auth_uri
This commit is contained in:
committed by
Jeremiah Russell
parent
15599e2258
commit
6d24a0175c
@@ -433,6 +433,8 @@ fn get_config() -> Result<(Config, ClientConfig)> {
|
||||
.set_default("config_root", "h:.cull-gmail")?
|
||||
.set_default("rules", "rules.toml")?
|
||||
.set_default("execute", true)?
|
||||
.set_default("token_uri", "https://oauth2.googleapis.com/token")?
|
||||
.set_default("auth_uri", "https://accounts.google.com/o/oauth2/auth")?
|
||||
.set_default("token_cache_env", "CULL_GMAIL_TOKEN_CACHE")?;
|
||||
|
||||
if path.exists() {
|
||||
|
||||
Reference in New Issue
Block a user