Skip to content

Commit

Permalink
Update _config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hub-ostrowski-mozilla committed Jul 15, 2024
1 parent 4cfbc1d commit 2f4fefc
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions wp-content/plugins/mozilla-salesforce-sync/_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@
* Define Salesforce sync credentials.
*/

$auth_url = 'https://login.salesforce.com/services/oauth2/token';
$sync_url = 'https://mozillafoundation2.my.salesforce.com/services/data/v60.0/query/';
$client_id = '3MVG9kBt168mda_.l.O5c7128RnXy08tFBn9VTk4a.mqezX7qV7AXODpXnVIOi1tybCkNb6_3rz53LltOnicn';
$client_secret = '278E76004F9D37E1367022EC59C1317E04EE7FDAFC4132F7FCF273456EFF8038';
$username = 'sfnp-admin+aiidb@mozillafoundation.org';
$password = 'jqg!VRU2cnp2ack9rjh';
$security_token = 'Zc80aRSxViJBEJRxLYdMwaNP8';

define( 'AUTH_URL', $auth_url );
define( 'SYNC_URL', $sync_url );
define( 'CLIENT_ID', $client_id );
define( 'CLIENT_SECRET', $client_secret );
define( 'USERNAME', $username );
define( 'PASSWORD', $password );
define( 'SECURITY_TOKEN', $security_token );
define('AUTH_URL', getenv('AUTH_URL'));
define('SYNC_URL', getenv('SYNC_URL'));
define('CLIENT_ID', getenv('CLIENT_ID'));
define('CLIENT_SECRET', getenv('CLIENT_SECRET'));
define('USERNAME', getenv('USERNAME'));
define('PASSWORD', getenv('PASSWORD'));
define('SECURITY_TOKEN', getenv('SECURITY_TOKEN'));

0 comments on commit 2f4fefc

Please sign in to comment.