Skip to main content
Nintex Community Menu Bar
Question

skuid grunt with sandbox?

  • July 10, 2024
  • 4 replies
  • 25 views

Forum|alt.badge.img+18

Is there anything I have to do differently to use skuid-grunt with a sandbox org?

I’m getting an authentication failure.

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+13

I think you need to change your orgOptions to include nforceOptions to tell nforce (which Skuid-Grunt) uses to connect to Salesforce) that you’re connecting to a Sandbox org:

var orgOptions = {
   ‘clientId’: ‘demoCliId’,
   ‘clientSecret’: ‘demoCliSec’,
   ‘username’: ‘demoUsrnm’,
   ‘password’: ‘demoPasswd’,
   ‘nforceOptions’: {
      ‘environment’: ‘sandbox’
   }
};


Forum|alt.badge.img+1

In addition to Zach’s comment, see this list of avaliable nforceOptions: https://github.com/kevinohara80/nforce#createconnectionopts



Forum|alt.badge.img+3

Along the same lines, I am receiving the Auth error as well… I have a custom domain sandbox.  In the nforceOptions samples it seems to specify 

environment: ‘production’, // optional, salesforce ‘sandbox’ or ‘production’, production default

Is there a way to override the environment for a specific domain path.  i.e.   mysite.csXX.my.salesforce.com

Thanks!


Forum|alt.badge.img+3

Never mind…  Just need to look a little closer… 

 loginUri  is used.