From 9ad852fbee8fa1f913202d75f0a0e27a7f73dd67 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Thu, 28 Oct 2021 10:09:00 -0500 Subject: [PATCH] update auth_url in Auth.php --- includes/classes/SiteAutomation/Auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/classes/SiteAutomation/Auth.php b/includes/classes/SiteAutomation/Auth.php index 29b8d97d..5accc625 100644 --- a/includes/classes/SiteAutomation/Auth.php +++ b/includes/classes/SiteAutomation/Auth.php @@ -14,11 +14,11 @@ */ class Auth { /** - * API URL to get access_token. + * API URL to get access_token. This is hardcoded to the Sophi Production auth URL as it is expected that whether Production, Staging, or Development is selected as the Environment in the plugin settings that this auth URL should always be used. * * @var string $auth_url */ - private $auth_url = 'https://login.sophi.io/oauth/token'; + private $auth_url = 'https://sophi-prod.auth0.com/oauth/token'; /** * Get cached access_token.