cURL
curl --request GET \
--url https://api.sandbox.humanity.org/v2/.well-known/hp-configurationimport requests
url = "https://api.sandbox.humanity.org/v2/.well-known/hp-configuration"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.humanity.org/v2/.well-known/hp-configuration', 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://api.sandbox.humanity.org/v2/.well-known/hp-configuration",
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://api.sandbox.humanity.org/v2/.well-known/hp-configuration"
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://api.sandbox.humanity.org/v2/.well-known/hp-configuration")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.humanity.org/v2/.well-known/hp-configuration")
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": "<string>",
"authorization_endpoint": "<string>",
"token_endpoint": "<string>",
"revoke_endpoint": "<string>",
"userinfo_endpoint": "<string>",
"jwks_uri": "<string>",
"presets_endpoint": "<string>",
"presets_batch_endpoint": "<string>",
"credentials_endpoint": "<string>",
"authorizations_endpoint": "<string>",
"hp_configuration_endpoint": "<string>",
"scopes_supported": [
"<string>"
],
"scopes_catalog": [
{
"id": "<string>",
"display_name": "<string>",
"description": "<string>",
"category": "<string>",
"implied_scopes": [
"<string>"
],
"is_default": true
}
],
"grant_types_supported": [
"<string>"
],
"code_challenge_methods_supported": [
"<string>"
],
"response_types_supported": [
"<string>"
],
"token_endpoint_auth_methods_supported": [
"<string>"
],
"subject_types_supported": [
"<string>"
],
"claim_types_supported": [
"<string>"
],
"claims_supported": [
"<string>"
],
"id_token_signing_alg_values_supported": [
"<string>"
],
"presets_available": [
{
"name": "<unknown>",
"scope": "<string>",
"type": "<unknown>",
"description": "<string>",
"consent_text": "<string>"
}
],
"rate_limit_default": 123,
"rate_limit_unit": "<string>"
}API Reference
Get well knownhp configuration
GET
/
.well-known
/
hp-configuration
cURL
curl --request GET \
--url https://api.sandbox.humanity.org/v2/.well-known/hp-configurationimport requests
url = "https://api.sandbox.humanity.org/v2/.well-known/hp-configuration"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.humanity.org/v2/.well-known/hp-configuration', 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://api.sandbox.humanity.org/v2/.well-known/hp-configuration",
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://api.sandbox.humanity.org/v2/.well-known/hp-configuration"
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://api.sandbox.humanity.org/v2/.well-known/hp-configuration")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.humanity.org/v2/.well-known/hp-configuration")
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": "<string>",
"authorization_endpoint": "<string>",
"token_endpoint": "<string>",
"revoke_endpoint": "<string>",
"userinfo_endpoint": "<string>",
"jwks_uri": "<string>",
"presets_endpoint": "<string>",
"presets_batch_endpoint": "<string>",
"credentials_endpoint": "<string>",
"authorizations_endpoint": "<string>",
"hp_configuration_endpoint": "<string>",
"scopes_supported": [
"<string>"
],
"scopes_catalog": [
{
"id": "<string>",
"display_name": "<string>",
"description": "<string>",
"category": "<string>",
"implied_scopes": [
"<string>"
],
"is_default": true
}
],
"grant_types_supported": [
"<string>"
],
"code_challenge_methods_supported": [
"<string>"
],
"response_types_supported": [
"<string>"
],
"token_endpoint_auth_methods_supported": [
"<string>"
],
"subject_types_supported": [
"<string>"
],
"claim_types_supported": [
"<string>"
],
"claims_supported": [
"<string>"
],
"id_token_signing_alg_values_supported": [
"<string>"
],
"presets_available": [
{
"name": "<unknown>",
"scope": "<string>",
"type": "<unknown>",
"description": "<string>",
"consent_text": "<string>"
}
],
"rate_limit_default": 123,
"rate_limit_unit": "<string>"
}Response
200 - application/json
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I