remove zendesk

This commit is contained in:
Ruben Fiszel
2022-08-16 23:45:58 +02:00
parent 8f05438c5e
commit ad4c06df94
2 changed files with 1 additions and 17 deletions
-8
View File
@@ -90,13 +90,5 @@
"extra_params": {
"type": "web_server"
}
},
"zendesk": {
"auth_url": "https://zendesk.com/oauth/authorizations/new",
"token_url": "https://zendesk.com/oauth/tokens/new",
"scopes": [
"read",
"write"
]
}
}
+1 -9
View File
@@ -948,15 +948,7 @@ fn oauth_redirect(
query_string.append_pair(&key, &value);
}
}
// if ["gcal", "gdrive", "gsheets", "gcloud", "gmail"]
// .into_iter()
// .any(|x| x == name)
// {
// auth_url
// .query_pairs_mut()
// .append_pair("access_type", "offline")
// .append_pair("prompt", "consent");
// }
set_cookie(&state, cookies);
Ok(Redirect::to(auth_url.as_str()))
}