@base44-preview/cli 0.0.50-pr.445.16001ec → 0.0.50-pr.445.45116f6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -250980,7 +250980,7 @@ async function socialLoginAction({ log, isNonInteractive, runTask: runTask2 }, p
250980
250980
  let outroMessage = `${label} login ${newStatus}${oauthNote} in local config. Run \`base44 auth push\` or \`base44 deploy\` to apply.`;
250981
250981
  if (useCustomOAuth && !clientSecret) {
250982
250982
  outroMessage += `
250983
- Remember to push the client secret separately: base44 secrets set --env-file <path>`;
250983
+ Remember to push the client secret separately: base44 auth social-login ${provider} enable --client-id ${options.clientId} --env-file <path>`;
250984
250984
  }
250985
250985
  return { outroMessage };
250986
250986
  }
@@ -253346,9 +253346,13 @@ function createFunctionRouter(manager, logger2) {
253346
253346
  on: {
253347
253347
  proxyReq: (proxyReq, req) => {
253348
253348
  const xAppId = req.headers["x-app-id"];
253349
+ const authorization = req.headers.authorization;
253349
253350
  if (xAppId) {
253350
253351
  proxyReq.setHeader("Base44-App-Id", xAppId);
253351
253352
  }
253353
+ if (authorization) {
253354
+ proxyReq.setHeader("Base44-Service-Authorization", authorization);
253355
+ }
253352
253356
  proxyReq.setHeader("Base44-Api-Url", `${req.protocol}://${req.headers.host}`);
253353
253357
  },
253354
253358
  error: (err, _req, res) => {
@@ -260419,4 +260423,4 @@ export {
260419
260423
  CLIExitError
260420
260424
  };
260421
260425
 
260422
- //# debugId=B916AA1898C4A8F564756E2164756E21
260426
+ //# debugId=BDDCFD6582DA543264756E2164756E21