Browse Source

wip to Core

pull/1/head
Rob Colbert 3 years ago
parent
commit
20c7a84a9f
  1. 2
      app/services/core-node.js

2
app/services/core-node.js

@ -99,7 +99,7 @@ class CoreNodeService extends SiteService {
const authorizationHost = `${core.address.host}:${core.address.port}`; const authorizationHost = `${core.address.host}:${core.address.port}`;
const authorizationURL = `${AUTH_SCHEME}://${authorizationHost}/oauth2/authorize`; const authorizationURL = `${AUTH_SCHEME}://${authorizationHost}/oauth2/authorize`;
const tokenURL = `${AUTH_SCHEME}://${authorizationHost}/oauth2/token`; 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( const coreAuthStrategy = new OAuth2Strategy(
{ {

Loading…
Cancel
Save