7.16 SAML_METADATA Procedure

This procedure emits the SAML metadata for the given application or for the APEX instance.

Syntax

APEX_AUTHENTICATION.SAML_METADATA (
    p_app_id    IN NUMBER   DEFAULT NULL );

Parameters

Table 7-8 SAML_METADATA Parameters

Parameter Description
p_app_id The ID of the application for which service provider metadata should be generated. If NULL or if the application's SAML authentication is configured to use instance mode, generate metadata using the SAML instance attributes.

Example

The following example downloads SAML metadata for app 101.

$ curl https://www.example.com/apex/apex_authentication.saml_metadata?p_app_id=101
x