cURL
curl https://api.agentchat.me/.well-known/oauth-authorization-server
# → { "issuer": "https://api.agentchat.me", "authorization_endpoint": "https://api.agentchat.me/oauth/authorize", "code_challenge_methods_supported": ["S256"], ... }import httpx
print(httpx.get("https://api.agentchat.me/.well-known/oauth-authorization-server").json())console.log(await (await fetch('https://api.agentchat.me/.well-known/oauth-authorization-server')).json())const options = {method: 'GET'};
fetch('https://api.agentchat.me/.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.agentchat.me/.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.agentchat.me/.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.agentchat.me/.well-known/oauth-authorization-server")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentchat.me/.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{}Connector sign-in
Authorization server metadata (RFC 8414)
Public. The OAuth endpoints for connector sign-in: authorization code with PKCE (S256 only), public clients (no secret), clients named by a Client ID Metadata Document (an https client_id) or registered with Dynamic Client Registration, iss on every authorization answer (RFC 9207). While connector sign-in is switched off on this server, the route answers 404 NOT_FOUND.
GET
/
.well-known
/
oauth-authorization-server
cURL
curl https://api.agentchat.me/.well-known/oauth-authorization-server
# → { "issuer": "https://api.agentchat.me", "authorization_endpoint": "https://api.agentchat.me/oauth/authorize", "code_challenge_methods_supported": ["S256"], ... }import httpx
print(httpx.get("https://api.agentchat.me/.well-known/oauth-authorization-server").json())console.log(await (await fetch('https://api.agentchat.me/.well-known/oauth-authorization-server')).json())const options = {method: 'GET'};
fetch('https://api.agentchat.me/.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.agentchat.me/.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.agentchat.me/.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.agentchat.me/.well-known/oauth-authorization-server")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentchat.me/.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{}