Public resource metadata
curl --request GET \
--url https://prod-auth.tktchurch.com/oauth/resources/publicimport Foundation
let url = URL(string: "https://prod-auth.tktchurch.com/oauth/resources/public")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.timeoutInterval = 10
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))const options = {method: 'GET'};
fetch('https://prod-auth.tktchurch.com/oauth/resources/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod-auth.tktchurch.com/oauth/resources/public"
response = requests.get(url)
print(response.text){
"resources": [
{
"name": "Convoy MCP",
"uri": "https://convoy.tktchurch.net/mcp"
}
]
}Public resource metadata
Registered RFC 8707 resources (name + URI) for consent screens. No auth.
GET
/
oauth
/
resources
/
public
Public resource metadata
curl --request GET \
--url https://prod-auth.tktchurch.com/oauth/resources/publicimport Foundation
let url = URL(string: "https://prod-auth.tktchurch.com/oauth/resources/public")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.timeoutInterval = 10
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))const options = {method: 'GET'};
fetch('https://prod-auth.tktchurch.com/oauth/resources/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod-auth.tktchurch.com/oauth/resources/public"
response = requests.get(url)
print(response.text){
"resources": [
{
"name": "Convoy MCP",
"uri": "https://convoy.tktchurch.net/mcp"
}
]
}Response
200 - application/json
Success
