From 20c7a84a9fcadec10189817e36a2c15e8e597b39 Mon Sep 17 00:00:00 2001 From: rob Date: Mon, 4 Jul 2022 23:43:47 -0400 Subject: [PATCH] wip to Core --- app/services/core-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/core-node.js b/app/services/core-node.js index 22699ff..10a2f62 100644 --- a/app/services/core-node.js +++ b/app/services/core-node.js @@ -99,7 +99,7 @@ class CoreNodeService extends SiteService { const authorizationHost = `${core.address.host}:${core.address.port}`; const authorizationURL = `${AUTH_SCHEME}://${authorizationHost}/oauth2/authorize`; const tokenURL = `${AUTH_SCHEME}://${authorizationHost}/oauth2/token`; - const callbackURL = `${AUTH_SCHEME}://${process.env.DTP_SITE_DOMAIN}/auth/core/${core._id}/welcome`; + const callbackURL = `${AUTH_SCHEME}://${process.env.DTP_SITE_DOMAIN}/auth/core/${core._id}/callback`; const coreAuthStrategy = new OAuth2Strategy( {