JavaScript
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Protected resource metadata
Protected resource URL
List of authorization server URLs
Was this page helpful?