OAuth
Protected resource metadata
GET
/
.well-known
/
oauth-protected-resource
Protected resource metadata
curl --request GET \
--url https://api.sempera.org/.well-known/oauth-protected-resourceimport requests
url = "https://api.sempera.org/.well-known/oauth-protected-resource"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sempera.org/.well-known/oauth-protected-resource', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "<string>",
"authorization_servers": [
"<string>"
],
"scopes_supported": [
"<string>"
],
"bearer_methods_supported": [
"header"
],
"resource_name": "Sempera"
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}⌘I
Protected resource metadata
curl --request GET \
--url https://api.sempera.org/.well-known/oauth-protected-resourceimport requests
url = "https://api.sempera.org/.well-known/oauth-protected-resource"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sempera.org/.well-known/oauth-protected-resource', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "<string>",
"authorization_servers": [
"<string>"
],
"scopes_supported": [
"<string>"
],
"bearer_methods_supported": [
"header"
],
"resource_name": "Sempera"
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}{
"error": {
"code": "AGENT_ENV_UNPINNED",
"message": "<string>",
"request_id": "<string>",
"field": "<string>",
"scope": "<string>",
"reason": "<string>"
}
}