Skip to content

Commit 2ad7463

Browse files
Merge pull request #4955 from pabasara-mahindapala/nodejs-passport-asgardeo-guide
Add client_id to logout
2 parents 7935fca + b3cda90 commit 2ad7463

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

en/asgardeo/docs/complete-guides/nodejs/add-login-and-logout.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ router.post("/logout", function (req, res, next) {
249249
return next(err);
250250
}
251251
var params = {
252-
post_logout_redirect_uri: "http://localhost:3000/",
252+
post_logout_redirect_uri: "http://localhost:3000/oauth2/redirect",
253+
client_id: process.env.ASGARDEO_CLIENT_ID,
253254
};
254255
res.redirect(
255256
ASGARDEO_BASE_URL +

0 commit comments

Comments
 (0)