• Resolved basquith16

    (@basquith16)


    Hello,

    I have followed all of the installation instructions and have gotten to the point where I get the message:

    “Salesforce needs to be authorized to connect to this website. Use the Authorize tab to connect.”

    However, there is no authorize tab, or any other tab than settings. I am logged into Salesforce. When I click on the “Authorize Tab” link that is in the above message, nothing happens.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Hello,

    If you don’t see the Authorize tab, I think it probably means there are fields missing from your Settings tab.

    To connect the plugin to Salesforce, you must have accurate values for the Consumer Key and Consumer Secret fields (you get these from Salesforce), as well as the Callback URL (which in your case should be https://ctw2.wpstagecoach.com/wp-admin/options-general.php?page=object-sync-salesforce-admin&tab=authorize), and the Login Base URL (which is either https://test.salesforce.com or https://login.salesforce.com, depending on whether you are using a sandbox or production Salesforce).

    You’ll also need the Authorize URL Path and Token URL Path, and the Salesforce API Version, but generally the default values are okay for this.

    It may help to refer to the full setup documentation here if you need further information: https://github.com/MinnPost/object-sync-for-salesforce/blob/master/docs/initial-setup.md

    Thanks,
    Jonathan

    Thread Starter basquith16

    (@basquith16)

    I actually used the full documentation from the start. I’ve done and triple checked all of the things you’ve mentioned, but am still having the same issue.

    Thread Starter basquith16

    (@basquith16)

    So, I had defined everything through wp-config before. I just entered everything via the settings page in wp-admin and now all of the tabs are appearing appropriately. This may be a bug that you want to look into? I am not sure.

    Everything seems to be working now. Thank you for your help.

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Thanks for the info here. Here’s what my wp-config looks like, in case it is helpful:

    
    define('OBJECT_SYNC_SF_SALESFORCE_CONSUMER_KEY', '[key from salesforce]');
    define('OBJECT_SYNC_SF_SALESFORCE_CONSUMER_SECRET', '[secret from salesforce]');
    define('OBJECT_SYNC_SF_SALESFORCE_CALLBACK_URL', 'https://mysite.dev/wp-admin/options-general.php?page=object-sync-salesforce-admin&tab=authorize');
    define('OBJECT_SYNC_SF_SALESFORCE_LOGIN_BASE_URL', 'https://test.salesforce.com');
    define('OBJECT_SYNC_SF_SALESFORCE_API_VERSION', '41.0');
    define('OBJECT_SYNC_SF_SALESFORCE_AUTHORIZE_URL_PATH', '/services/oauth2/authorize');
    define('OBJECT_SYNC_SF_SALESFORCE_TOKEN_URL_PATH', '/services/oauth2/token');
    
    Thread Starter basquith16

    (@basquith16)

    Yup, that’s what I had too. Maybe it is something quirky with wpstagecoach, who knows.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Only Settings Tab, cannot authorize’ is closed to new replies.