Skip to content

List all attributes

Request

Lists all attributes for a specific application in Access Gateway

Path
applicationIdstring, (uuid)required

Identifier of the application

curl -i -X GET \
  'https://oag.domain.tld/api/v2/apps/{applicationId}/attributes'

Responses

Success

Bodyapplication/json
Array [
activeboolean

Indicates whether to send the attribute to a protected resource. If set to true, the attribute is sent.

Default:true
delimiterstring

The delimiter to use when multiValueProcessor is set to SELECT_ALL. This delimiter is used to concatenate multiple values into a single string.

Default:":"
idstring, (uuid)read-only

Unique identifier of the attribute

indexinteger, [ 0 .. 99 ]

The index of the value that's used when multiValueProcessor is set to SELECT_INDEX

The index is zero-based, so the first value has an index of 0, the second value has an index of 1, and so on.

Default:0
multiValueProcessorstring

Use this property to process attributes with multiple values that are returned from the source

If the value that's received from the source contains multiple values separated by , (commas), you can use this property to specify which value to send to the protected resource.

Default:"SELECT_INDEX"
Enum ValueDescription
SELECT_INDEX

This option allows you to select a specific value from a multi-valued attribute based on its index. The index must be specified in the index property.

SELECT_ALL

This option concatenates all values of a multi-valued attribute into a single string, separated by a specified delimiter. The delimiter must be defined in the delimiter property.

RECORD_COUNT

This option returns the count of values in a multi-valued attribute. It provides the total number of records present in the attribute.

namestring, <= 128 characters

The name of the attribute

sourcestring

The data source for the contents of the attribute

Enum ValueDescription
IDP

Selecting this data source means that the value that's based on this attribute is sourced from the IdP, your Okta tenant

STATIC

Selecting this data source means that the value of the attribute is fixed and defined by the value property

SECRET

Selecting this data source means that the value of the attribute is a static protected value. It's used as a secret key by the application to trust the headers, which originate from Access Gateway.

APP_CONTEXT

Selecting this data source means that the value of the attribute is based on the application context. This means that the value is dynamically generated based on the application settings.

AUTH_CONTEXT

Selecting this data source means that the value of the attribute comes from the authentication context, which includes the remote address and session ID

OID

Selecting this data source means that the value of the attribute comes from the object identifier (OID) data source. The OID data source is available in the Oracle E-Business Suite and other application types that provide LDAP support. You can use it to retrieve the Oracle GUID.

typestring

The method that's used to pass attributes. You can pass attributes in a header or in a cookie.

This property is required for all application types except SAML and OIDC, which ignore this property and don't use it.

Enum:"HEADER""COOKIE"
valuestring

The dynamic value of the attribute that's based on the source

]
Response
[ { "id": "9c471061-8981-43c5-a7bc-deef2150a5a2", "active": true, "name": "sampleheader", "source": "IDP", "value": "firstName", "type": "HEADER" } ]