Adjusting Remote Auth Scripts which use www.schoology.com

As of 5:30 am EDT (UTC -4) on Saturday October 3, 2015  Schoology performed a site upgrade that included changing the platform URL to app.schoology.com. This is a critical step in enabling us to better serve you and your institution as we grow together.

In order to ensure continued service without interruption, remote authentication scripts that redirect users to www.schoology.com need to be modified. 

If you have a custom domain or subdomain, you should replace all instances of "www.schoology.com" with that custom domain/subdomain. Otherwise, you should replace all instances of "www.schoology.com" with "app.schoology.com."

For advanced users, you can adjust the script to dynamically determine the url. Here is a PHP version which you may be able to adjust to your language of choice:

Instead of:

$url = 'http://app.schoology.com/login/remote/?' . $query . '&hash=' . $hash;
// Redirect the user to the Schoology Remote Login page
header("Location: " . $url); 


The script should be adjusted to: 

if(isset($_GET['domain'])){

$domain = $_GET['domain'];

}

else {

$domain = 'app.schoology.com';

}

$url = 'http://' . $domain . '/login/remote/?' . $query . '&hash=' . $hash;
// Redirect the user to the Schoology Remote Login page
header("Location: " . $url);

 

Back to Remote Authentication article

Powered by Zendesk