import Telnyx from 'telnyx';
const client = new Telnyx();
const response = await client.wellKnown.retrieveProtectedResourceMetadata();
console.log(response.authorization_servers);{
"resource": "<string>",
"authorization_servers": [
"<string>"
]
}OAuth 2.0 Protected Resource Metadata for resource discovery
import Telnyx from 'telnyx';
const client = new Telnyx();
const response = await client.wellKnown.retrieveProtectedResourceMetadata();
console.log(response.authorization_servers);{
"resource": "<string>",
"authorization_servers": [
"<string>"
]
}Was this page helpful?