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 +