OAuth 2.0 Authorization Server Metadata (RFC 8414)
curl --request GET \
--url https://api.izap.ai/.well-known/oauth-authorization-serverimport requests
url = "https://api.izap.ai/.well-known/oauth-authorization-server"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.izap.ai/.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://api.izap.ai/.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://api.izap.ai/.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://api.izap.ai/.well-known/oauth-authorization-server")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.izap.ai/.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://api.izap.ai",
"authorization_endpoint": "https://api.izap.ai/oauth/authorize",
"token_endpoint": "https://api.izap.ai/oauth/token",
"registration_endpoint": "https://api.izap.ai/oauth/register",
"grant_types_supported": [
"authorization_code",
"refresh_token"
],
"code_challenge_methods_supported": [
"S256"
],
"token_endpoint_auth_methods_supported": [
"none",
"client_secret_post",
"client_secret_basic"
]
}{
"detail": "Not authenticated"
}OAuth
OAuth 2.0 Authorization Server Metadata (RFC 8414)
Discovery document advertising the authorize/token endpoints, supported grant types (authorization_code, refresh_token), PKCE (S256), and supported token_endpoint_auth_methods (none, client_secret_post, client_secret_basic). Used by OAuth and MCP clients to auto-configure. Equivalent metadata is also served under /oauth/.well-known/... and /mcp/.well-known/... variants.
GET
/
.well-known
/
oauth-authorization-server
OAuth 2.0 Authorization Server Metadata (RFC 8414)
curl --request GET \
--url https://api.izap.ai/.well-known/oauth-authorization-serverimport requests
url = "https://api.izap.ai/.well-known/oauth-authorization-server"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.izap.ai/.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://api.izap.ai/.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://api.izap.ai/.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://api.izap.ai/.well-known/oauth-authorization-server")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.izap.ai/.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://api.izap.ai",
"authorization_endpoint": "https://api.izap.ai/oauth/authorize",
"token_endpoint": "https://api.izap.ai/oauth/token",
"registration_endpoint": "https://api.izap.ai/oauth/register",
"grant_types_supported": [
"authorization_code",
"refresh_token"
],
"code_challenge_methods_supported": [
"S256"
],
"token_endpoint_auth_methods_supported": [
"none",
"client_secret_post",
"client_secret_basic"
]
}{
"detail": "Not authenticated"
}Response
Authorization server metadata.
The response is of type object.
⌘I