mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 08:02:40 +00:00
remove zendesk
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user