curl --request GET \
--url https://app.sideshift.app/api/oauth/v1/authorizeimport requests
url = "https://app.sideshift.app/api/oauth/v1/authorize"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.sideshift.app/api/oauth/v1/authorize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.sideshift.app/api/oauth/v1/authorize",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/oauth/v1/authorize"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.sideshift.app/api/oauth/v1/authorize")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/oauth/v1/authorize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"<string>"{
"error": "temporarily_unavailable",
"error_description": "Rate limit exceeded"
}Authorization endpoint
RFC 6749 §4.1 authorization endpoint. Validates the client, redirect URI (exact match except that a native HTTP loopback callback may vary only the port), scope, and PKCE challenge (S256 required), parks the request, and redirects the browser to the in-session consent page. On approval the consent step redirects back to redirect_uri with code, state, and iss (RFC 9207). If the client_id/redirect_uri cannot be trusted, an HTML error page is shown instead of redirecting; otherwise errors are returned as a redirect carrying error, error_description, state, iss.
curl --request GET \
--url https://app.sideshift.app/api/oauth/v1/authorizeimport requests
url = "https://app.sideshift.app/api/oauth/v1/authorize"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.sideshift.app/api/oauth/v1/authorize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.sideshift.app/api/oauth/v1/authorize",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/oauth/v1/authorize"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.sideshift.app/api/oauth/v1/authorize")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/oauth/v1/authorize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body"<string>"{
"error": "temporarily_unavailable",
"error_description": "Rate limit exceeded"
}Query Parameters
code Required when the client has more than one registered URI; must match a registered URI; a native HTTP loopback callback may vary only the port.
Space-delimited; subset of the client's registered scopes (defaults to all).
Opaque value echoed back on the redirect.
PKCE S256 challenge.
S256 RFC 8707 resource indicator; must equal the canonical resource URI when supplied.
Response
Redirect — to the consent page (unauthenticated browser), or back to redirect_uri with code+state+iss on success or error+error_description+state+iss on a recoverable error.