I'm currently trying to get an access token by passing the following parameters into the https://accounts.google.com/o/oauth2/auth URL, but I keep getting a page that says "Moved Temporarily / The document has moved here," with here linked to another page. Is there any way to access just the URL I mentioned above without having to load this new page? When I click the "here" it's able to give me an access token after that. I just started working with Google APIs, so any assistance is appreciated.Here's my code:<?php$ch = curl_init();$qs_vars = array("client_id" => "XXXXXXXXXXX.apps.googleusercontent.com","redirect_uri" => "http://www.XXXXXXXXXX.com/testing/curltest.php","scope" => "https://www.googleapis.com/auth/adsense","access_type" => "offline","approval_prompt" => "auto","response_type" => "code",);foreach ($qs_vars as $key => $value) {if (empty($query_string)) {$query_string .= "?";} else {$query_string .= "&";}$query_string .= $key."=".$value;}curl_setopt($ch, CURLOPT_URL, "https://accounts.google.com/o/oauth2/auth".$query_string);$response = curl_exec($ch);curl_close($ch);?>