"code", "redirect_uri" => $redirect_uri, "client_id" => $client_id, "scope" => $scope, "state" => $state, ]); header("Location: $url"); exit();