From 3a985a2b90273b96aa3c14d427856ad01507876f Mon Sep 17 00:00:00 2001 From: pabasara-mahindapala Date: Wed, 8 Jan 2025 12:11:47 +0530 Subject: [PATCH] Redirect URL change --- .../docs/complete-guides/nodejs/add-login-and-logout.md | 2 +- .../docs/complete-guides/nodejs/register-an-application.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 89a4ce0ec3..757f1340b2 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,7 @@ router.post("/logout", function (req, res, next) { return next(err); } var params = { - post_logout_redirect_uri: "http://localhost:3000/oauth2/redirect", + post_logout_redirect_uri: "http://localhost:3000", client_id: process.env.ASGARDEO_CLIENT_ID, }; res.redirect( diff --git a/en/asgardeo/docs/complete-guides/nodejs/register-an-application.md b/en/asgardeo/docs/complete-guides/nodejs/register-an-application.md index 51ccc59b59..b63fb2f41b 100644 --- a/en/asgardeo/docs/complete-guides/nodejs/register-an-application.md +++ b/en/asgardeo/docs/complete-guides/nodejs/register-an-application.md @@ -12,18 +12,18 @@ First unless you already have done that, you need to create an organization in { ![Select Traditional Web Application]({{base_path}}/complete-guides/nodejs/assets/img/image5.png){: width="800" style="display: block; margin: 0;"} -Next, complete the wizard popup by providing a suitable name and an authorized redirect URL. Keep OpenID Connect selected as the protocol. +Next, complete the wizard popup by providing a suitable name and following authorized redirect URLs. Keep OpenID Connect selected as the protocol. !!! Example **name:** is-nodejs - **Authorized redirect URL:** http://localhost:3000/oauth2/redirect + **Authorized redirect URLs:** http://localhost:3000/oauth2/redirect, http://localhost:3000 ![Register a new application]({{base_path}}/complete-guides/nodejs/assets/img/image8.png){: width="800" style="display: block; margin: 0;"} !!! Info - The authorized redirect URL determines where {{product_name}} should send users after they successfully log in. Typically, this will be the web address where your app is hosted. For this guide, we'll use [http://localhost:3000/oauth2/redirect](http://localhost:3000/oauth2/redirect){:target="_blank"}, as the sample app will be accessible at this URL. + The authorized redirect URL determines where {{product_name}} should send users after they successfully log in. Typically, this will be the web address where your app is hosted. For this guide, we'll use [http://localhost:3000/oauth2/redirect](http://localhost:3000/oauth2/redirect){:target="_blank"} and [http://localhost:3000](http://localhost:3000){:target="_blank"}. You will need the following information available in the Quick Start tab of your app.