- Retrieve the XAA resource server metadata
- okta.apps.read
- SUPER_ADMIN
- APP_ADMIN
- API_ACCESS_MANAGEMENT_ADMIN
- ORG_ADMIN
- READ_ONLY_ADMIN
- okta.apps.read
Retrieves the XAA resource server metadata for the specified app. The response includes the issuer that identifies the app's authorization server, the resources it protects, and the scopes it accepts.
An app returns the XAA resource server metadata only if it's created from an XAA-enabled resource integration in the Okta Integration Network (OIN) catalog. If you request the XAA metadata on an app that's not created from an XAA resource integration from the OIN, then a 404 Not Found error is returned.
Note: The
issuerproperty on the OIN resource app integration can be an expression that supports Okta Expression Language's app properties. The XAA resource app instance returns the fully resolvedissuerexpression for its XAA metadata. If theissuerexpression can't be resolved, then a400 Bad Requesterror is returned.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/apps/{appId}/xaa/resource-server
curl -i -X GET \
https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ/xaa/resource-serverSuccess
Indicates whether the ID-JAG audience for this resource server must carry a tenant claim. When true, a tenant value is collected from the customer when the app is configured and is included in the ID-JAG JWT audience. When absent, this property defaults to false, which is the case for single-tenant resource servers.
Indicates whether this resource server supports Client ID Metadata Documents (CIMD)
The issuer URL that identifies the authorization server for the app (resource server).
The issuer property from the OIN catalog integration can be an expression that supports the Okta Expression Language's app properties, and contains the app properties that represent the customer tenant. For example, when the issuer on the OIN catalog integration is https://{app.subdomain}.example.com/, the app instance's issuer property is resolved to https://mydomain.example.com if the subdomain app property variable is set to mydomain. The fully resolved value is returned.
The resource URLs protected by this resource server
[ "https://api.myapp.example.com/v1/documents", "https://api.myapp.example.com/v1/messages" ]
{ "audTenantRequired": true, "cimdSupported": true, "issuer": "https://myapp.example.com", "protectedResources": [ "https://api.myapp.example.com/v1/documents", "https://api.myapp.example.com/v1/messages" ], "scopes": [ "documents.read", "messages.read" ] }