Skip to content

Retrieve an application

Request

Retrieves details of a specific application by applicationId

Path
applicationIdstring, (uuid)required

Identifier of the application

Query
expandArray of strings

Use the expand query parameter to return additional items in the _embedded object

Items Enum:"healthCheck""behavior""session""resources""policies""attributes""ebsAgent""ebsClassic"
curl -i -X GET \
  'https://oag.domain.tld/api/v2/apps/{applicationId}?expand=healthCheck'

Responses

Success

Bodyapplication/json
descriptionstring

Application description

groupsArray of strings

Array of group IDs from your Okta org that are granted access to the application

idstring, (uuid)read-only

Unique identifier of the application

idpIdstring, (uuid)

IdP identifier

labelstring

The name of the application, and also the tile name in your Okta tenant. The label must be unique.

namestringread-only

Application name

statusstringread-only

Application status

Enum:"CREATED""ACTIVE""INACTIVE""MAINTENANCE"
typestring(ApplicationType)

Application type. This property is immutable after it's created. It's not required, but if you include it in a request body, it must match the application's type. A different value returns an HTTP 400 error.

Enum ValueDescription
OAG_HEADER_BASED

Applications that use header-based authentication. Access Gateway passes user attributes in HTTP headers to the application, which uses these attributes to identify the user and manage sessions.

OAG_ADMINUI

The Access Gateway Admin UI, which is the interface that admins use to manage Access Gateway.

OAG_NOAUTH

Applications that don't require authentication. Use this type to manage access to public resources or to test Access Gateway functionality without authentication.

OAG_SAMPLE_COOKIE

A sample application that demonstrates cookie-based authentication.

OAG_SAMPLE_HEADER

A sample application that demonstrates header-based authentication.

OAG_SAMPLE_POLICY

A sample application that demonstrates policy enforcement.

OAG_SAMPLE_WIKIPEDIA

A sample application preconfigured to provide access to Wikipedia with header-based authentication.

ORACLE_ACCESSGATE

Oracle Access Gateway applications.

ORACLE_AGILE_PLM

Oracle Agile Product Lifecycle Management (PLM) applications.

ORACLE_APPLICATION_EXPRESS

Oracle Application Express (APEX) applications.

ORACLE_DEMANTRA

Oracle Demantra applications.

ORACLE_HCM_CLOUD

Oracle Human Capital Management (HCM) Cloud applications.

ORACLE_HYPERION

Oracle Hyperion applications.

ORACLE_JDE

Oracle JD Edwards EnterpriseOne (JDE) applications.

ORACLE_OBIEE

Oracle Business Intelligence Enterprise Edition (OBIEE) applications.

ORACLE_PEOPLESOFT

Oracle PeopleSoft applications.

ORACLE_WEBCENTER

Oracle WebCenter applications.

ORACLE_WEBLOGIC

Oracle WebLogic Server applications.

OAG_SAML

SAML applications that use Security Assertion Markup Language (SAML) 2.0 for single sign-on (SSO) authentication.

OAG_OIDC

OIDC applications that use OpenID Connect for single sign-on (SSO) authentication.

Discriminator
certificateIdstring, (uuid)

Certificate identifier

contentRewriteboolean

Indicates whether Access Gateway attempts to rewrite redirects and URLs in an app's HTML content

debugboolean

Indicates whether debug logging is enabled for the application

Default:false
hostHeaderValuestring

The value of the host header that's passed to the back-end protected web resources. It uses the fully qualified external name.

loadBalancedboolean

Indicates whether the application is load balanced. If loadBalanced is true, you can distribute the request load for an application across multiple servers.

Default:false
localNetworkAccessRestrictionboolean

Indicates whether local network access restriction is enabled. If localNetworkAccessRestriction is true, Access Gateway only allows proxy requests from local network IP addresses.

Default:false
maxFileSizeinteger

Maximum file upload size allowed by the application, in megabytes (MB). The default value is 1 (1 MB). Setting it to 0 (zero) allows for an unlimited file upload size.

Default:1
postLoginUrlstring, (uri)^https?://[a-zA-Z0-9.-]+(:[0-9]{1,5})?(?:/[A-...

The default URL that end users are directed to after they sign in

proxyReadTimeoutinteger, [ 1 .. 99999999 ]

Defines a timeout in seconds for reading a response from the proxied server. The timeout counter takes effect only between two successive read operations, not for the transmission of the whole response. If the proxied server doesn't transmit anything within this time, the connection is closed.

Default:60
proxyRedirectboolean

Indicates whether the application is a proxy redirect application. If proxyRedirect is true, Access Gateway redirects the browser to the protected resource URL.

publicDomainstring, (hostname)

The URL of the domain that's entered by users to gain access to this application. The domain must be registered with a domain registrar.

usePublicDomainAsHostHeaderboolean

Indicates whether the application sends a host header to the protected resource.

  • If it's set to true, Access Gateway uses the public domain name as the host header value.
  • If it's set to false, Access Gateway uses the hostHeaderValue as the host header value if hostHeaderValue is specified.
  • If it's set to false and hostHeaderValue isn't specified, Access Gateway uses the protected resource hostname as the host header value.
_embeddedobjectread-only

Additional configuration settings for applications that are returned when you use the expand query parameter

Response
{ "id": "44931df2-4464-4c4d-97ce-5d0177b09f30", "name": "testapp", "type": "OAG_HEADER_BASED", "description": "Header site", "label": "Test App", "idpId": "3f63f461-c7fc-483b-b2ae-961633d251ac", "publicDomain": "oagapp.domain.tld", "status": "CREATED", "postLoginUrl": "https://oagapp.domain.tld/landing", "groups": [ "00ghsrbfqxmSf7Ekw1d7" ], "certificateId": "15cc2bc6-b280-4d94-a0bf-c91751b40d9c", "loadBalanced": true, "usePublicDomainAsHostHeader": false, "hostHeaderValue": "app.domain.tld", "contentRewrite": false, "proxyRedirect": false, "maxFileSize": 4000, "proxyReadTimeout": 30, "localNetworkAccessRestriction": false }