From b3cda90c86f25f7705e86751d93279f5a51166a7 Mon Sep 17 00:00:00 2001 From: pabasara-mahindapala Date: Wed, 8 Jan 2025 11:22:50 +0530 Subject: [PATCH] Add client_id to logout --- .../docs/complete-guides/nodejs/add-login-and-logout.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/asgardeo/docs/complete-guides/nodejs/add-login-and-logout.md b/en/asgardeo/docs/complete-guides/nodejs/add-login-and-logout.md index d77baf27c1..89a4ce0ec3 100644 --- a/en/asgardeo/docs/complete-guides/nodejs/add-login-and-logout.md +++ b/en/asgardeo/docs/complete-guides/nodejs/add-login-and-logout.md @@ -249,7 +249,8 @@ router.post("/logout", function (req, res, next) { return next(err); } var params = { - post_logout_redirect_uri: "http://localhost:3000/", + post_logout_redirect_uri: "http://localhost:3000/oauth2/redirect", + client_id: process.env.ASGARDEO_CLIENT_ID, }; res.redirect( ASGARDEO_BASE_URL +