Idea ID: 2873798

Allow "Constant" Attributes configured within an attribute mapping to be used as OAuth Claims

Status : New Idea

At the moment only LDAP attributes or virtual attributes can be used with OAuth claims / attributes.

The only option is to make use of customer claims which would add an array called claims [] like within the example below

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

{
  "iss": "https://ema.corp:8443/nidp/oauth/nam",
  "jti": "1289bcd1-bc0c-43ec-b264-622aff181853",
  "aud": "a2bdce1d-215a-4bb3-ad83-42accdf168c3",
  "exp": 1658734467,
  "iat": 1658730867,
  "nbf": 1658730837,
  "sub": "a2bdce1d-215a-4bb3-ad83-42accdf168c3",
  "_pvt": "5l+IvFO8hrsur1VGUg7py46eLA16U5++w82n9ci2pIWaYuhrLBIgEdpdNE1ffgnROPm2u7z5NiDUEE8VxL5kjo6SmYfjc/3c0cCrVH9bWcMvv8GCu4B1QR07nE0wvT9TlH9+vdPEvmC/v25oObeQqCywDZQe93F72gA6LngSahBb9zb0zHjnNQf9GKrN5FvMTdxxrfxN/vDkdwbYkPU48BaBh1Y24nLMg9PDnVPSERI=.6",
  "scope": [
    "com.custom.claims"
  ],
  "claims": [
    "Claim1: Value1",
    "Claim2: Value2",
    "Claim3: Value3"
  ],
  "_target": "Identity Provider"
}++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Allowing a Constant would as well offer the combination of LDAP attributes, Virtual attributes within one scope

Labels:

Other