Authorization-server metadata
curl --request GET \
--url https://app.sideshift.app/.well-known/oauth-authorization-serverimport requests
url = "https://app.sideshift.app/.well-known/oauth-authorization-server"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.sideshift.app/.well-known/oauth-authorization-server', 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/.well-known/oauth-authorization-server",
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/.well-known/oauth-authorization-server"
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/.well-known/oauth-authorization-server")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/.well-known/oauth-authorization-server")
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{
"issuer": "https://app.sideshift.app",
"authorization_endpoint": "https://app.sideshift.app/api/oauth/v1/authorize",
"token_endpoint": "https://app.sideshift.app/api/oauth/v1/token",
"registration_endpoint": "https://app.sideshift.app/api/oauth/v1/register",
"revocation_endpoint": "https://app.sideshift.app/api/oauth/v1/revoke",
"jwks_uri": "https://app.sideshift.app/api/oauth/v1/jwks",
"scopes_supported": [
"campaigns:read",
"campaigns:write",
"offline_access"
],
"response_types_supported": [
"code"
],
"response_modes_supported": [
"query"
],
"grant_types_supported": [
"authorization_code",
"refresh_token",
"client_credentials"
],
"token_endpoint_auth_methods_supported": [
"none",
"client_secret_basic",
"client_secret_post"
],
"revocation_endpoint_auth_methods_supported": [
"none",
"client_secret_basic",
"client_secret_post"
],
"code_challenge_methods_supported": [
"S256"
],
"authorization_response_iss_parameter_supported": true
}Authorization-server metadata
RFC 8414 authorization-server metadata. Advertises RFC 9207 issuer identification.
GET
/
.well-known
/
oauth-authorization-server
Authorization-server metadata
curl --request GET \
--url https://app.sideshift.app/.well-known/oauth-authorization-serverimport requests
url = "https://app.sideshift.app/.well-known/oauth-authorization-server"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.sideshift.app/.well-known/oauth-authorization-server', 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/.well-known/oauth-authorization-server",
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/.well-known/oauth-authorization-server"
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/.well-known/oauth-authorization-server")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/.well-known/oauth-authorization-server")
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{
"issuer": "https://app.sideshift.app",
"authorization_endpoint": "https://app.sideshift.app/api/oauth/v1/authorize",
"token_endpoint": "https://app.sideshift.app/api/oauth/v1/token",
"registration_endpoint": "https://app.sideshift.app/api/oauth/v1/register",
"revocation_endpoint": "https://app.sideshift.app/api/oauth/v1/revoke",
"jwks_uri": "https://app.sideshift.app/api/oauth/v1/jwks",
"scopes_supported": [
"campaigns:read",
"campaigns:write",
"offline_access"
],
"response_types_supported": [
"code"
],
"response_modes_supported": [
"query"
],
"grant_types_supported": [
"authorization_code",
"refresh_token",
"client_credentials"
],
"token_endpoint_auth_methods_supported": [
"none",
"client_secret_basic",
"client_secret_post"
],
"revocation_endpoint_auth_methods_supported": [
"none",
"client_secret_basic",
"client_secret_post"
],
"code_challenge_methods_supported": [
"S256"
],
"authorization_response_iss_parameter_supported": true
}Response
200 - application/json
Authorization-server metadata.
RFC 8414 authorization-server metadata.
⌘I