Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Rotate test OAuth2 token

Tuan Danga49fcf49f1f9
diff --git a/frontend/pages/netlify.js b/frontend/pages/netlify.js
index 4fbcf2061b..f25c6af83a 100644
--- a/frontend/pages/netlify.js
+++ b/frontend/pages/netlify.js
@@ -18,9 +18,6 @@ export default function Netlify() {
useEffect(async () => {
if (state === localStorage.getItem('latestCSRFToken')) {
localStorage.removeItem('latestCSRFToken');
-
- // http://localhost:8080/netlify?code=qnG0g_krhklWDpdUqfhU-t1sLeZzYI3gF2d6QVnL-Gc&state=3a78cd3154a9a99ddd4eb5d99dbb3289
- // http://localhost:8080/netlify#access_token=d-78qUAnnSzvlgfG9Y_oUV6_4TQBxLbofImiBbKAjzE&token_type=Bearer&state=5da34fa49e301e9fa1a6e40925694b77
await AuthorizeIntegration({
workspaceId: localStorage.getItem('projectData.id'),
@@ -28,7 +25,7 @@ export default function Netlify() {
integration: "netlify"
});
- // router.push("/integrations/" + localStorage.getItem("projectData.id"));
+ router.push("/integrations/" + localStorage.getItem("projectData.id"));
}
try {
diff --git a/frontend/public/json/cloudIntegrations.json b/frontend/public/json/cloudIntegrations.json
index 48a525a7ea..aa988fb5f5 100644
--- a/frontend/public/json/cloudIntegrations.json
+++ b/frontend/public/json/cloudIntegrations.json
@@ -21,7 +21,7 @@
"image": "Netlify",
"isAvailable": true,
"type": "oauth2",
- "clientId": "frGheMeEzVEUgM5yHLcPeTj9kYJhYvqkR5IkSexOS50",
+ "clientId": "fYWBhD3gt0pT62UIwYrlGRcy--pPVLYIQad6ORrES9o",
"redirectURL": "http://localhost:8080/netlify"
},
{