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( {