From 233b5771561a00a19224c7fdc4a00314a686cc12 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 13 Oct 2020 14:46:03 +0200 Subject: [PATCH 1/6] added optional dialog variant --- src/components/confirm-dialog/ConfirmDialog.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/confirm-dialog/ConfirmDialog.tsx b/src/components/confirm-dialog/ConfirmDialog.tsx index d53090c49d..a3a1719200 100644 --- a/src/components/confirm-dialog/ConfirmDialog.tsx +++ b/src/components/confirm-dialog/ConfirmDialog.tsx @@ -38,6 +38,7 @@ export type ConfirmDialogProps = { cancelButtonLabel?: string; continueButtonLabel?: string; continueButtonVariant?: ButtonVariant; + variant?: ModalVariant; onConfirm: () => void; onCancel?: () => void; children?: ReactNode; @@ -53,6 +54,7 @@ export const ConfirmDialogModal = ({ onCancel, children, open = true, + variant = ModalVariant.default, toggleDialog, }: ConfirmDialogModalProps) => { const { t } = useTranslation(); @@ -61,7 +63,7 @@ export const ConfirmDialogModal = ({ title={t(titleKey)} isOpen={open} onClose={toggleDialog} - variant={ModalVariant.small} + variant={variant} actions={[ + + ); +}; + +export const Dialog = Template.bind({}); +Dialog.args = { + protocol: "openid-connect", +}; From 3762764bfb203b09b328f4f20bd71f0001e0bb90 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 20 Oct 2020 09:36:58 +0200 Subject: [PATCH 3/6] added mapper dialog for predefined and custom --- src/client-scopes/add/MapperDialog.tsx | 163 + .../add/__tests__/MapperDialog.test.tsx | 56 + .../__snapshots__/MapperDialog.test.tsx.snap | 30079 ++++++++++++++++ src/client-scopes/add/mapper-dialog.css | 4 + src/common-messages.json | 1 + ...tories.tsx => AddMapperDialog.stories.tsx} | 27 +- 6 files changed, 30320 insertions(+), 10 deletions(-) create mode 100644 src/client-scopes/add/MapperDialog.tsx create mode 100644 src/client-scopes/add/__tests__/MapperDialog.test.tsx create mode 100644 src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap create mode 100644 src/client-scopes/add/mapper-dialog.css rename src/stories/{PredefinedScopesDialog.stories.tsx => AddMapperDialog.stories.tsx} (50%) diff --git a/src/client-scopes/add/MapperDialog.tsx b/src/client-scopes/add/MapperDialog.tsx new file mode 100644 index 0000000000..91e1316704 --- /dev/null +++ b/src/client-scopes/add/MapperDialog.tsx @@ -0,0 +1,163 @@ +import React, { ReactElement, useState } from "react"; +import { + Button, + ButtonVariant, + Modal, + Text, + TextContent, +} from "@patternfly/react-core"; +import { + Table, + TableBody, + TableHeader, + TableVariant, +} from "@patternfly/react-table"; +import { useTranslation } from "react-i18next"; + +import { useServerInfo } from "../../context/server-info/ServerInfoProvider"; +import { + ProtocolMapperRepresentation, + ProtocolMapperTypeRepresentation, +} from "../../context/server-info/server-info"; + +import "./mapper-dialog.css"; + +export type AddMapperDialogProps = { + protocol: string; + buildIn: boolean; + onConfirm: ( + value: ProtocolMapperTypeRepresentation | ProtocolMapperRepresentation[] + ) => {}; +}; + +type AddMapperDialogModalProps = AddMapperDialogProps & { + open: boolean; + toggleDialog: () => void; +}; + +export const useAddMapperDialog = ( + props: AddMapperDialogProps +): [() => void, () => ReactElement] => { + const [show, setShow] = useState(false); + + function toggleDialog() { + setShow((show) => !show); + } + + const Dialog = () => ( + + ); + return [toggleDialog, Dialog]; +}; + +export const AddMapperDialog = ({ + protocol, + buildIn, + open, + toggleDialog, + onConfirm, +}: AddMapperDialogModalProps) => { + const serverInfo = useServerInfo(); + const protocolMappers = serverInfo.protocolMapperTypes[protocol]; + const buildInMappers = serverInfo.builtinProtocolMappers[protocol]; + const { t } = useTranslation("client-scopes"); + const [rows, setRows] = useState( + buildInMappers.map((mapper) => { + const mapperType = protocolMappers.filter( + (type) => type.id === mapper.protocolMapper + )[0]; + return { + item: mapper, + selected: false, + cells: [mapper.name, mapperType.helpText], + }; + }) + ); + + const columns: (keyof ProtocolMapperTypeRepresentation)[] = [ + "name", + "helpText", + ]; + + const data = protocolMappers.map((c) => { + return { + item: c, + cells: columns.map((col) => { + return c[col]; + }), + }; + }); + + return ( + { + onConfirm( + rows.filter((row) => row.selected).map((row) => row.item) + ); + toggleDialog(); + }} + > + {t("common:add")} + , + , + ] + : [] + } + > + + {t("predefinedMappingDescription")} + + {!buildIn && ( + + + { + onConfirm(row.item); + toggleDialog(); + }} + className="keycloak__add-mapper-dialog__table-row" + /> +
+ )} + {buildIn && ( + { + rows[rowIndex].selected = isSelected; + setRows([...rows]); + }} + canSelectAll={false} + rows={rows} + aria-label={t("chooseAMapperType")} + > + + +
+ )} +
+ ); +}; diff --git a/src/client-scopes/add/__tests__/MapperDialog.test.tsx b/src/client-scopes/add/__tests__/MapperDialog.test.tsx new file mode 100644 index 0000000000..aca2c99fb5 --- /dev/null +++ b/src/client-scopes/add/__tests__/MapperDialog.test.tsx @@ -0,0 +1,56 @@ +import React from "react"; +import { mount } from "enzyme"; +import { Button } from "@patternfly/react-core"; + +import serverInfo from "../../../context/server-info/__tests__/mock.json"; +import { ServerInfoContext } from "../../../context/server-info/ServerInfoProvider"; +import { AddMapperDialogProps, useAddMapperDialog } from "../MapperDialog"; + + +describe("", () => { + const Test = (args: AddMapperDialogProps) => { + const [toggle, Dialog] = useAddMapperDialog(args); + return ( + + + + + ); + } + + it("should return empty array when selecting nothing", () => { + const onConfirm = jest.fn(); + const container = mount(); + + container.find("button#open").simulate("click"); + expect(container).toMatchSnapshot(); + + container.find("button#modal-confirm").simulate("click"); + expect(onConfirm).toBeCalledWith([]); + }); + + it("should return array with selected build in protocol mapping", () => { + const onConfirm = jest.fn(); + const protocol = "openid-connect"; + const container = mount(); + + container.find("button#open").simulate("click"); + container.find("input[name='checkrow0']").simulate("change", { target: { value: true } }); + container.find("input[name='checkrow1']").simulate("change", { target: { value: true } }); + + container.find("button#modal-confirm").simulate("click"); + expect(onConfirm).toBeCalledWith([serverInfo.builtinProtocolMappers[protocol][0], serverInfo.builtinProtocolMappers[protocol][1]]); + }); + + it("should return selected protocol mapping type on click", () => { + const onConfirm = jest.fn(); + const protocol = "openid-connect"; + const container = mount(); + + container.find("button#open").simulate("click"); + expect(container).toMatchSnapshot(); + + container.find("tbody.keycloak__add-mapper-dialog__table-row").find("tr").first().simulate("mousedown"); + expect(onConfirm).toBeCalledWith(serverInfo.protocolMapperTypes[protocol][0]); + }); +}); diff --git a/src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap b/src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap new file mode 100644 index 0000000000..7c1b65d644 --- /dev/null +++ b/src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap @@ -0,0 +1,30079 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` should return empty array when selecting nothing 1`] = ` + + + + + add + , + , + ] + } + appendTo={[Function]} + aria-describedby="" + aria-label="" + aria-labelledby="" + className="" + hasNoBodyWrapper={false} + isOpen={true} + onClose={[Function]} + ouiaSafe={true} + showClose={true} + title="chooseAMapperType" + variant="default" + > + +
+
+ +
+
+ + } + > + + add + , + , + ] + } + aria-describedby="" + aria-label="" + aria-labelledby="" + boxId="pf-modal-part-1" + className="" + descriptorId="pf-modal-part-3" + hasNoBodyWrapper={false} + isOpen={true} + labelId="pf-modal-part-2" + onClose={[Function]} + ouiaId="OUIA-Generated-Modal-default-2" + ouiaSafe={true} + showClose={true} + title="chooseAMapperType" + variant="default" + > + +
+ +
+ + + +
+
+
+
+
+
+
+
+
+ + +
+`; + +exports[` should return selected protocol mapping type on click 1`] = ` + + + + + +
+
+ +
+
+ + } + > + + +
+ +
+ + + +
+
+
+
+
+
+
+
+
+ + +
+`; diff --git a/src/client-scopes/add/mapper-dialog.css b/src/client-scopes/add/mapper-dialog.css new file mode 100644 index 0000000000..049fcfb07c --- /dev/null +++ b/src/client-scopes/add/mapper-dialog.css @@ -0,0 +1,4 @@ + +.keycloak__add-mapper-dialog__table-row { + cursor: pointer; +} \ No newline at end of file diff --git a/src/common-messages.json b/src/common-messages.json index 9add76911c..e10edbdb69 100644 --- a/src/common-messages.json +++ b/src/common-messages.json @@ -3,6 +3,7 @@ "fullName": "{{givenName}} {{familyName}}", "unknownUser": "Anonymous", + "add": "Add", "create": "Create", "save": "Save", "cancel": "Cancel", diff --git a/src/stories/PredefinedScopesDialog.stories.tsx b/src/stories/AddMapperDialog.stories.tsx similarity index 50% rename from src/stories/PredefinedScopesDialog.stories.tsx rename to src/stories/AddMapperDialog.stories.tsx index e98f02a327..34dd0e1aed 100644 --- a/src/stories/PredefinedScopesDialog.stories.tsx +++ b/src/stories/AddMapperDialog.stories.tsx @@ -5,18 +5,18 @@ import { Meta, Story } from "@storybook/react"; import serverInfo from "../context/server-info/__tests__/mock.json"; import { ServerInfoContext } from "../context/server-info/ServerInfoProvider"; import { - PredefinedScopeDialog, - PredefinedScopeProps, - usePredefinedScopeDialog, -} from "../client-scopes/add/PredefinedScopesDialog"; + AddMapperDialog, + AddMapperDialogProps, + useAddMapperDialog, +} from "../client-scopes/add/MapperDialog"; export default { - title: "PredefinedScopeDialog", - component: PredefinedScopeDialog, + title: "Add mapper dialog", + component: AddMapperDialog, } as Meta; -const Template: Story = (args) => { - const [toggle, Dialog] = usePredefinedScopeDialog(args); +const Template: Story = (args) => { + const [toggle, Dialog] = useAddMapperDialog(args); return ( @@ -25,7 +25,14 @@ const Template: Story = (args) => { ); }; -export const Dialog = Template.bind({}); -Dialog.args = { +export const BuildInDialog = Template.bind({}); +BuildInDialog.args = { protocol: "openid-connect", + buildIn: true, +}; + +export const ProtocolMapperDialog = Template.bind({}); +ProtocolMapperDialog.args = { + protocol: "openid-connect", + buildIn: false, }; From 0ce57d878879445966f657d11f431ed466db8ad0 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 20 Oct 2020 09:43:48 +0200 Subject: [PATCH 4/6] format --- .../add/__tests__/MapperDialog.test.tsx | 42 ++++++++++++++----- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/src/client-scopes/add/__tests__/MapperDialog.test.tsx b/src/client-scopes/add/__tests__/MapperDialog.test.tsx index aca2c99fb5..cbaafb43ed 100644 --- a/src/client-scopes/add/__tests__/MapperDialog.test.tsx +++ b/src/client-scopes/add/__tests__/MapperDialog.test.tsx @@ -6,21 +6,24 @@ import serverInfo from "../../../context/server-info/__tests__/mock.json"; import { ServerInfoContext } from "../../../context/server-info/ServerInfoProvider"; import { AddMapperDialogProps, useAddMapperDialog } from "../MapperDialog"; - describe("", () => { const Test = (args: AddMapperDialogProps) => { const [toggle, Dialog] = useAddMapperDialog(args); return ( - + ); - } + }; it("should return empty array when selecting nothing", () => { const onConfirm = jest.fn(); - const container = mount(); + const container = mount( + + ); container.find("button#open").simulate("click"); expect(container).toMatchSnapshot(); @@ -32,25 +35,42 @@ describe("", () => { it("should return array with selected build in protocol mapping", () => { const onConfirm = jest.fn(); const protocol = "openid-connect"; - const container = mount(); + const container = mount( + + ); container.find("button#open").simulate("click"); - container.find("input[name='checkrow0']").simulate("change", { target: { value: true } }); - container.find("input[name='checkrow1']").simulate("change", { target: { value: true } }); + container + .find("input[name='checkrow0']") + .simulate("change", { target: { value: true } }); + container + .find("input[name='checkrow1']") + .simulate("change", { target: { value: true } }); container.find("button#modal-confirm").simulate("click"); - expect(onConfirm).toBeCalledWith([serverInfo.builtinProtocolMappers[protocol][0], serverInfo.builtinProtocolMappers[protocol][1]]); + expect(onConfirm).toBeCalledWith([ + serverInfo.builtinProtocolMappers[protocol][0], + serverInfo.builtinProtocolMappers[protocol][1], + ]); }); it("should return selected protocol mapping type on click", () => { const onConfirm = jest.fn(); const protocol = "openid-connect"; - const container = mount(); + const container = mount( + + ); container.find("button#open").simulate("click"); expect(container).toMatchSnapshot(); - container.find("tbody.keycloak__add-mapper-dialog__table-row").find("tr").first().simulate("mousedown"); - expect(onConfirm).toBeCalledWith(serverInfo.protocolMapperTypes[protocol][0]); + container + .find("tbody.keycloak__add-mapper-dialog__table-row") + .find("tr") + .first() + .simulate("mousedown"); + expect(onConfirm).toBeCalledWith( + serverInfo.protocolMapperTypes[protocol][0] + ); }); }); From 958717130337ddd2ebb4b2d074e58a716144da5d Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Wed, 21 Oct 2020 11:01:55 +0200 Subject: [PATCH 5/6] changed to use dataList instead of table --- src/client-scopes/add/MapperDialog.tsx | 62 +++++++++++++------------ src/client-scopes/add/mapper-dialog.css | 4 -- 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 src/client-scopes/add/mapper-dialog.css diff --git a/src/client-scopes/add/MapperDialog.tsx b/src/client-scopes/add/MapperDialog.tsx index 91e1316704..a35d1a76b1 100644 --- a/src/client-scopes/add/MapperDialog.tsx +++ b/src/client-scopes/add/MapperDialog.tsx @@ -2,6 +2,11 @@ import React, { ReactElement, useState } from "react"; import { Button, ButtonVariant, + DataList, + DataListCell, + DataListItem, + DataListItemCells, + DataListItemRow, Modal, Text, TextContent, @@ -20,8 +25,6 @@ import { ProtocolMapperTypeRepresentation, } from "../../context/server-info/server-info"; -import "./mapper-dialog.css"; - export type AddMapperDialogProps = { protocol: string; buildIn: boolean; @@ -74,20 +77,6 @@ export const AddMapperDialog = ({ }) ); - const columns: (keyof ProtocolMapperTypeRepresentation)[] = [ - "name", - "helpText", - ]; - - const data = protocolMappers.map((c) => { - return { - item: c, - cells: columns.map((col) => { - return c[col]; - }), - }; - }); - return ( {t("predefinedMappingDescription")} {!buildIn && ( - { + const mapper = protocolMappers.find((mapper) => mapper.id === id); + onConfirm(mapper!); + toggleDialog(); + }} aria-label={t("chooseAMapperType")} + isCompact > - - { - onConfirm(row.item); - toggleDialog(); - }} - className="keycloak__add-mapper-dialog__table-row" - /> -
+ {protocolMappers.map((mapper) => ( + + + + <>{mapper.name} + , + + <>{mapper.helpText} + , + ]} + /> + + + ))} + )} {buildIn && ( Date: Wed, 21 Oct 2020 13:43:52 +0200 Subject: [PATCH 6/6] fixed test --- .../add/__tests__/MapperDialog.test.tsx | 5 +- .../__snapshots__/MapperDialog.test.tsx.snap | 13560 ++-------------- 2 files changed, 1326 insertions(+), 12239 deletions(-) diff --git a/src/client-scopes/add/__tests__/MapperDialog.test.tsx b/src/client-scopes/add/__tests__/MapperDialog.test.tsx index cbaafb43ed..5fff4ba058 100644 --- a/src/client-scopes/add/__tests__/MapperDialog.test.tsx +++ b/src/client-scopes/add/__tests__/MapperDialog.test.tsx @@ -65,10 +65,9 @@ describe("", () => { expect(container).toMatchSnapshot(); container - .find("tbody.keycloak__add-mapper-dialog__table-row") - .find("tr") + .find("div.pf-c-data-list__item-content") .first() - .simulate("mousedown"); + .simulate("click"); expect(onConfirm).toBeCalledWith( serverInfo.protocolMapperTypes[protocol][0] ); diff --git a/src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap b/src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap index 7c1b65d644..869ec0e135 100644 --- a/src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap +++ b/src/client-scopes/add/__tests__/__snapshots__/MapperDialog.test.tsx.snap @@ -17609,357 +17609,387 @@ exports[` should return selected protocol mapping type on click 1 predefinedMappingDescription

-
- - - - - - - + User Realm Role + +
+ Map a user realm role to a token claim. +
+ + + +
  • -
  • - - - - + User Address + +
    + Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim. +
    + + + +
  • +
    -
  • - - - + User Client Role + +
    + Map a user client role to a token claim. +
    + + + +
  • +
    -
  • - - - + Hardcoded Role + +
    + Hardcode a role into the access token. +
    + + + +
  • +
    -
  • - - - + Pairwise subject identifier + +
    + Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers. +
    + + + +
  • +
    -
  • - - - + Allowed Web Origins + +
    + Adds all allowed web origins to the 'allowed-origins' claim in the token +
    + + + +
  • +
    -
  • - - - + User Attribute + +
    + Map a custom user attribute to a token claim. +
    + + + +
  • +
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Group Membership + +
    + Map user group membership +
    + + + +
  • +
    -
  • - - - -
    - name - +
    - description -
    - User Realm Role - + User Session Note + +
    + Map a custom user session note to a token claim. +
    + + + +
  • +
    +
    - Map a user realm role to a token claim. -
  • - User Session Note - + Role Name Mapper + +
    + Map an assigned role to a new name or position in the token. +
    + + + +
  • +
    +
    - Map a custom user session note to a token claim. -
  • - User Address - + User Property + +
    + Map a built in user property (email, firstName, lastName) to a token claim. +
    + + + +
  • +
    +
    - Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim. -
  • - Role Name Mapper - + Hardcoded claim + +
    + Hardcode a claim into the token. +
    + + + +
  • +
    +
    - Map an assigned role to a new name or position in the token. -
  • - User Client Role - + User's full name + +
    + Maps the user's first and last name to the OpenID Connect 'name' claim. Format is <first> + ' ' + <last> +
    + + + +
  • +
    +
    - Map a user client role to a token claim. -
  • - User Property - + Audience + +
    + Add specified audience to the audience (aud) field of token +
    + + + +
  • +
    +
    - Map a built in user property (email, firstName, lastName) to a token claim. -
  • - Hardcoded Role - - Hardcode a role into the access token. -
    - Hardcoded claim - - Hardcode a claim into the token. -
    - Pairwise subject identifier - - Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers. -
    - User's full name - - Maps the user's first and last name to the OpenID Connect 'name' claim. Format is <first> + ' ' + <last> -
    - Allowed Web Origins - - Adds all allowed web origins to the 'allowed-origins' claim in the token -
    - Audience - - Add specified audience to the audience (aud) field of token -
    - User Attribute - - Map a custom user attribute to a token claim. -
    - Group Membership - - Map user group membership -
    - Audience Resolve - - Adds all client_ids of "allowed" clients to the audience field of the token. Allowed client means the client +
    + Audience Resolve +
    +
    + Adds all client_ids of "allowed" clients to the audience field of the token. Allowed client means the client for which user has at least one client role -
    + + + + + @@ -18113,11936 +18143,994 @@ exports[` should return selected protocol mapping type on click 1 - + ' ' + ", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "Allowed Web Origins", - "Adds all allowed web origins to the 'allowed-origins' claim in the token", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - "id": "oidc-allowed-origins-mapper", - "name": "Allowed Web Origins", - "priority": 0, - "properties": Array [], - }, - }, - Object { - "cells": Array [ - "Audience", - "Add specified audience to the audience (aud) field of token", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Add specified audience to the audience (aud) field of token", - "id": "oidc-audience-mapper", - "name": "Audience", - "priority": 0, - "properties": Array [ - Object { - "helpText": "included.client.audience.tooltip", - "label": "included.client.audience.label", - "name": "included.client.audience", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "included.custom.audience.tooltip", - "label": "included.custom.audience.label", - "name": "included.custom.audience", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "false", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "User Attribute", - "Map a custom user attribute to a token claim.", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user attribute to a token claim.", - "id": "oidc-usermodel-attribute-mapper", - "name": "User Attribute", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.attr.tooltip", - "label": "usermodel.attr.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "aggregate.attrs.tooltip", - "label": "aggregate.attrs.label", - "name": "aggregate.attrs", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "Group Membership", - "Map user group membership", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Map user group membership", - "id": "oidc-group-membership-mapper", - "name": "Group Membership", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "Include full path to group i.e. /top/level1/level2, false will just specify the group name", - "label": "Full group path", - "name": "full.path", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "Audience Resolve", - "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - "id": "oidc-audience-resolve-mapper", - "name": "Audience Resolve", - "priority": 30, - "properties": Array [], - }, - }, - ] - } - variant="compact" + isCompact={true} + onSelectDataListItem={[Function]} > - -
    - - + - - + + User Realm Role + + , + + + Map a user realm role to a token claim. + + , ] } - headerRows={null} - renderers={ - Object { - "body": Object { - "cell": [Function], - "row": [Function], - "wrapper": [Function], - }, - "header": Object { - "cell": [Function], - "row": "tr", - "wrapper": "thead", - }, - "table": "table", - } - } + key=".0" + rowid="User Realm Role" > - - - - - - - - - - - - - - - - - + User Realm Role + + + +
    + Map a user realm role to a token claim. +
    +
    + + + + + + + +
  • - + ' ' + ", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "Allowed Web Origins", - "Adds all allowed web origins to the 'allowed-origins' claim in the token", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - "id": "oidc-allowed-origins-mapper", - "name": "Allowed Web Origins", - "priority": 0, - "properties": Array [], - }, - }, - Object { - "cells": Array [ - "Audience", - "Add specified audience to the audience (aud) field of token", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Add specified audience to the audience (aud) field of token", - "id": "oidc-audience-mapper", - "name": "Audience", - "priority": 0, - "properties": Array [ - Object { - "helpText": "included.client.audience.tooltip", - "label": "included.client.audience.label", - "name": "included.client.audience", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "included.custom.audience.tooltip", - "label": "included.custom.audience.label", - "name": "included.custom.audience", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "false", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "User Attribute", - "Map a custom user attribute to a token claim.", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user attribute to a token claim.", - "id": "oidc-usermodel-attribute-mapper", - "name": "User Attribute", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.attr.tooltip", - "label": "usermodel.attr.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "aggregate.attrs.tooltip", - "label": "aggregate.attrs.label", - "name": "aggregate.attrs", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "Group Membership", - "Map user group membership", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Map user group membership", - "id": "oidc-group-membership-mapper", - "name": "Group Membership", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "Include full path to group i.e. /top/level1/level2, false will just specify the group name", - "label": "Full group path", - "name": "full.path", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - }, - Object { - "cells": Array [ - "Audience Resolve", - "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - ], - "item": Object { - "category": "Token mapper", - "helpText": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - "id": "oidc-audience-resolve-mapper", - "name": "Audience Resolve", - "priority": 30, - "properties": Array [], - }, - }, - ] - } - > - + ' ' + ", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - }, - "id": 9, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User's full name", - }, - }, - Object { - "cells": Array [ - "Allowed Web Origins", - "Adds all allowed web origins to the 'allowed-origins' claim in the token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - }, - "id": 10, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - "id": "oidc-allowed-origins-mapper", - "name": "Allowed Web Origins", - "priority": 0, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Allowed Web Origins", - }, - }, - Object { - "cells": Array [ - "Audience", - "Add specified audience to the audience (aud) field of token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Add specified audience to the audience (aud) field of token", - }, - "id": 11, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Add specified audience to the audience (aud) field of token", - "id": "oidc-audience-mapper", - "name": "Audience", - "priority": 0, - "properties": Array [ - Object { - "helpText": "included.client.audience.tooltip", - "label": "included.client.audience.label", - "name": "included.client.audience", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "included.custom.audience.tooltip", - "label": "included.custom.audience.label", - "name": "included.custom.audience", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "false", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience", - }, - }, - Object { - "cells": Array [ - "User Attribute", - "Map a custom user attribute to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a custom user attribute to a token claim.", - }, - "id": 12, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user attribute to a token claim.", - "id": "oidc-usermodel-attribute-mapper", - "name": "User Attribute", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.attr.tooltip", - "label": "usermodel.attr.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "aggregate.attrs.tooltip", - "label": "aggregate.attrs.label", - "name": "aggregate.attrs", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Attribute", - }, - }, - Object { - "cells": Array [ - "Group Membership", - "Map user group membership", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map user group membership", - }, - "id": 13, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map user group membership", - "id": "oidc-group-membership-mapper", - "name": "Group Membership", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "Include full path to group i.e. /top/level1/level2, false will just specify the group name", - "label": "Full group path", - "name": "full.path", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Group Membership", - }, - }, - Object { - "cells": Array [ - "Audience Resolve", - "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - }, - "id": 14, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": true, - "isLastVisible": true, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - "id": "oidc-audience-resolve-mapper", - "name": "Audience Resolve", - "priority": 30, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience Resolve", - }, - }, - ] - } - onRow={[Function]} - rowKey="id" - rows={ - Array [ - Object { - "cells": Array [ - "User Realm Role", - "Map a user realm role to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a user realm role to a token claim.", - }, - "id": 0, - "isExpanded": undefined, - "isFirst": true, - "isFirstVisible": true, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a user realm role to a token claim.", - "id": "oidc-usermodel-realm-role-mapper", - "name": "User Realm Role", - "priority": 40, - "properties": Array [ - Object { - "helpText": "usermodel.realmRoleMapping.rolePrefix.tooltip", - "label": "usermodel.realmRoleMapping.rolePrefix.label", - "name": "usermodel.realmRoleMapping.rolePrefix", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Realm Role", - }, - }, - Object { - "cells": Array [ - "User Session Note", - "Map a custom user session note to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a custom user session note to a token claim.", - }, - "id": 1, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user session note to a token claim.", - "id": "oidc-usersessionmodel-note-mapper", - "name": "User Session Note", - "priority": 0, - "properties": Array [ - Object { - "helpText": "userSession.modelNote.tooltip", - "label": "userSession.modelNote.label", - "name": "user.session.note", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Session Note", - }, - }, - Object { - "cells": Array [ - "User Address", - "Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim.", - }, - "id": 2, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim.", - "id": "oidc-address-mapper", - "name": "User Address", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "street", - "helpText": "addressClaim.street.tooltip", - "label": "addressClaim.street.label", - "name": "user.attribute.street", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "locality", - "helpText": "addressClaim.locality.tooltip", - "label": "addressClaim.locality.label", - "name": "user.attribute.locality", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "region", - "helpText": "addressClaim.region.tooltip", - "label": "addressClaim.region.label", - "name": "user.attribute.region", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "postal_code", - "helpText": "addressClaim.postal_code.tooltip", - "label": "addressClaim.postal_code.label", - "name": "user.attribute.postal_code", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "country", - "helpText": "addressClaim.country.tooltip", - "label": "addressClaim.country.label", - "name": "user.attribute.country", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "formatted", - "helpText": "addressClaim.formatted.tooltip", - "label": "addressClaim.formatted.label", - "name": "user.attribute.formatted", - "secret": false, - "type": "String", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Address", - }, - }, - Object { - "cells": Array [ - "Role Name Mapper", - "Map an assigned role to a new name or position in the token.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map an assigned role to a new name or position in the token.", - }, - "id": 3, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map an assigned role to a new name or position in the token.", - "id": "oidc-role-name-mapper", - "name": "Role Name Mapper", - "priority": 10, - "properties": Array [ - Object { - "helpText": "Role name you want changed. Click 'Select Role' button to browse roles, or just type it in the textbox. To reference an application role the syntax is appname.approle, i.e. myapp.myrole", - "label": "Role", - "name": "role", - "secret": false, - "type": "Role", - }, - Object { - "helpText": "The new role name. The new name format corresponds to where in the access token the role will be mapped to. So, a new name of 'myapp.newname' will map the role to that position in the access token. A new name of 'newname' will map the role to the realm roles in the token.", - "label": "New Role Name", - "name": "new.role.name", - "secret": false, - "type": "String", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Role Name Mapper", - }, - }, - Object { - "cells": Array [ - "User Client Role", - "Map a user client role to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a user client role to a token claim.", - }, - "id": 4, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a user client role to a token claim.", - "id": "oidc-usermodel-client-role-mapper", - "name": "User Client Role", - "priority": 40, - "properties": Array [ - Object { - "helpText": "usermodel.clientRoleMapping.clientId.tooltip", - "label": "usermodel.clientRoleMapping.clientId.label", - "name": "usermodel.clientRoleMapping.clientId", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "usermodel.clientRoleMapping.rolePrefix.tooltip", - "label": "usermodel.clientRoleMapping.rolePrefix.label", - "name": "usermodel.clientRoleMapping.rolePrefix", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "usermodel.clientRoleMapping.tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Client Role", - }, - }, - Object { - "cells": Array [ - "User Property", - "Map a built in user property (email, firstName, lastName) to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a built in user property (email, firstName, lastName) to a token claim.", - }, - "id": 5, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a built in user property (email, firstName, lastName) to a token claim.", - "id": "oidc-usermodel-property-mapper", - "name": "User Property", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.prop.tooltip", - "label": "usermodel.prop.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Property", - }, - }, - Object { - "cells": Array [ - "Hardcoded Role", - "Hardcode a role into the access token.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcode a role into the access token.", - }, - "id": 6, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Hardcode a role into the access token.", - "id": "oidc-hardcoded-role-mapper", - "name": "Hardcoded Role", - "priority": 20, - "properties": Array [ - Object { - "helpText": "Role you want added to the token. Click 'Select Role' button to browse roles, or just type it in the textbox. To specify an application role the syntax is appname.approle, i.e. myapp.myrole", - "label": "Role", - "name": "role", - "secret": false, - "type": "Role", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcoded Role", - }, - }, - Object { - "cells": Array [ - "Hardcoded claim", - "Hardcode a claim into the token.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcode a claim into the token.", - }, - "id": 7, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Hardcode a claim into the token.", - "id": "oidc-hardcoded-claim-mapper", - "name": "Hardcoded claim", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "Value of the claim you want to hard code. 'true' and 'false can be used for boolean values.", - "label": "Claim value", - "name": "claim.value", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcoded claim", - }, - }, - Object { - "cells": Array [ - "Pairwise subject identifier", - "Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers.", - }, - "id": 8, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers.", - "id": "oidc-sha256-pairwise-sub-mapper", - "name": "Pairwise subject identifier", - "priority": 0, - "properties": Array [ - Object { - "helpText": "sectorIdentifierUri.tooltip", - "label": "sectorIdentifierUri.label", - "name": "sectorIdentifierUri", - "secret": false, - "type": "String", - }, - Object { - "helpText": "pairwiseSubAlgorithmSalt.tooltip", - "label": "pairwiseSubAlgorithmSalt.label", - "name": "pairwiseSubAlgorithmSalt", - "secret": false, - "type": "String", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Pairwise subject identifier", - }, - }, - Object { - "cells": Array [ - "User's full name", - "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - }, - "id": 9, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User's full name", - }, - }, - Object { - "cells": Array [ - "Allowed Web Origins", - "Adds all allowed web origins to the 'allowed-origins' claim in the token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - }, - "id": 10, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - "id": "oidc-allowed-origins-mapper", - "name": "Allowed Web Origins", - "priority": 0, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Allowed Web Origins", - }, - }, - Object { - "cells": Array [ - "Audience", - "Add specified audience to the audience (aud) field of token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Add specified audience to the audience (aud) field of token", - }, - "id": 11, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Add specified audience to the audience (aud) field of token", - "id": "oidc-audience-mapper", - "name": "Audience", - "priority": 0, - "properties": Array [ - Object { - "helpText": "included.client.audience.tooltip", - "label": "included.client.audience.label", - "name": "included.client.audience", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "included.custom.audience.tooltip", - "label": "included.custom.audience.label", - "name": "included.custom.audience", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "false", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience", - }, - }, - Object { - "cells": Array [ - "User Attribute", - "Map a custom user attribute to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a custom user attribute to a token claim.", - }, - "id": 12, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user attribute to a token claim.", - "id": "oidc-usermodel-attribute-mapper", - "name": "User Attribute", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.attr.tooltip", - "label": "usermodel.attr.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "aggregate.attrs.tooltip", - "label": "aggregate.attrs.label", - "name": "aggregate.attrs", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Attribute", - }, - }, - Object { - "cells": Array [ - "Group Membership", - "Map user group membership", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map user group membership", - }, - "id": 13, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map user group membership", - "id": "oidc-group-membership-mapper", - "name": "Group Membership", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "Include full path to group i.e. /top/level1/level2, false will just specify the group name", - "label": "Full group path", - "name": "full.path", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Group Membership", - }, - }, - Object { - "cells": Array [ - "Audience Resolve", - "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - }, - "id": 14, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": true, - "isLastVisible": true, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - "id": "oidc-audience-resolve-mapper", - "name": "Audience Resolve", - "priority": 30, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience Resolve", - }, - }, - ] - } - > - + ' ' + ", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - }, - "id": 9, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User's full name", - }, - }, - Object { - "cells": Array [ - "Allowed Web Origins", - "Adds all allowed web origins to the 'allowed-origins' claim in the token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - }, - "id": 10, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - "id": "oidc-allowed-origins-mapper", - "name": "Allowed Web Origins", - "priority": 0, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Allowed Web Origins", - }, - }, - Object { - "cells": Array [ - "Audience", - "Add specified audience to the audience (aud) field of token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Add specified audience to the audience (aud) field of token", - }, - "id": 11, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Add specified audience to the audience (aud) field of token", - "id": "oidc-audience-mapper", - "name": "Audience", - "priority": 0, - "properties": Array [ - Object { - "helpText": "included.client.audience.tooltip", - "label": "included.client.audience.label", - "name": "included.client.audience", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "included.custom.audience.tooltip", - "label": "included.custom.audience.label", - "name": "included.custom.audience", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "false", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience", - }, - }, - Object { - "cells": Array [ - "User Attribute", - "Map a custom user attribute to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a custom user attribute to a token claim.", - }, - "id": 12, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user attribute to a token claim.", - "id": "oidc-usermodel-attribute-mapper", - "name": "User Attribute", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.attr.tooltip", - "label": "usermodel.attr.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "aggregate.attrs.tooltip", - "label": "aggregate.attrs.label", - "name": "aggregate.attrs", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Attribute", - }, - }, - Object { - "cells": Array [ - "Group Membership", - "Map user group membership", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map user group membership", - }, - "id": 13, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map user group membership", - "id": "oidc-group-membership-mapper", - "name": "Group Membership", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "Include full path to group i.e. /top/level1/level2, false will just specify the group name", - "label": "Full group path", - "name": "full.path", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Group Membership", - }, - }, - Object { - "cells": Array [ - "Audience Resolve", - "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - }, - "id": 14, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": true, - "isLastVisible": true, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - "id": "oidc-audience-resolve-mapper", - "name": "Audience Resolve", - "priority": 30, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience Resolve", - }, - }, - ] - } - onRow={[Function]} - renderers={ - Object { - "body": Object { - "cell": [Function], - "row": [Function], - "wrapper": [Function], - }, - "header": Object { - "cell": [Function], - "row": "tr", - "wrapper": "thead", - }, - "table": "table", - } - } - rowKey="id" - rows={ - Array [ - Object { - "cells": Array [ - "User Realm Role", - "Map a user realm role to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a user realm role to a token claim.", - }, - "id": 0, - "isExpanded": undefined, - "isFirst": true, - "isFirstVisible": true, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a user realm role to a token claim.", - "id": "oidc-usermodel-realm-role-mapper", - "name": "User Realm Role", - "priority": 40, - "properties": Array [ - Object { - "helpText": "usermodel.realmRoleMapping.rolePrefix.tooltip", - "label": "usermodel.realmRoleMapping.rolePrefix.label", - "name": "usermodel.realmRoleMapping.rolePrefix", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Realm Role", - }, - }, - Object { - "cells": Array [ - "User Session Note", - "Map a custom user session note to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a custom user session note to a token claim.", - }, - "id": 1, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user session note to a token claim.", - "id": "oidc-usersessionmodel-note-mapper", - "name": "User Session Note", - "priority": 0, - "properties": Array [ - Object { - "helpText": "userSession.modelNote.tooltip", - "label": "userSession.modelNote.label", - "name": "user.session.note", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Session Note", - }, - }, - Object { - "cells": Array [ - "User Address", - "Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim.", - }, - "id": 2, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim.", - "id": "oidc-address-mapper", - "name": "User Address", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "street", - "helpText": "addressClaim.street.tooltip", - "label": "addressClaim.street.label", - "name": "user.attribute.street", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "locality", - "helpText": "addressClaim.locality.tooltip", - "label": "addressClaim.locality.label", - "name": "user.attribute.locality", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "region", - "helpText": "addressClaim.region.tooltip", - "label": "addressClaim.region.label", - "name": "user.attribute.region", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "postal_code", - "helpText": "addressClaim.postal_code.tooltip", - "label": "addressClaim.postal_code.label", - "name": "user.attribute.postal_code", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "country", - "helpText": "addressClaim.country.tooltip", - "label": "addressClaim.country.label", - "name": "user.attribute.country", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "formatted", - "helpText": "addressClaim.formatted.tooltip", - "label": "addressClaim.formatted.label", - "name": "user.attribute.formatted", - "secret": false, - "type": "String", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Address", - }, - }, - Object { - "cells": Array [ - "Role Name Mapper", - "Map an assigned role to a new name or position in the token.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map an assigned role to a new name or position in the token.", - }, - "id": 3, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map an assigned role to a new name or position in the token.", - "id": "oidc-role-name-mapper", - "name": "Role Name Mapper", - "priority": 10, - "properties": Array [ - Object { - "helpText": "Role name you want changed. Click 'Select Role' button to browse roles, or just type it in the textbox. To reference an application role the syntax is appname.approle, i.e. myapp.myrole", - "label": "Role", - "name": "role", - "secret": false, - "type": "Role", - }, - Object { - "helpText": "The new role name. The new name format corresponds to where in the access token the role will be mapped to. So, a new name of 'myapp.newname' will map the role to that position in the access token. A new name of 'newname' will map the role to the realm roles in the token.", - "label": "New Role Name", - "name": "new.role.name", - "secret": false, - "type": "String", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Role Name Mapper", - }, - }, - Object { - "cells": Array [ - "User Client Role", - "Map a user client role to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a user client role to a token claim.", - }, - "id": 4, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a user client role to a token claim.", - "id": "oidc-usermodel-client-role-mapper", - "name": "User Client Role", - "priority": 40, - "properties": Array [ - Object { - "helpText": "usermodel.clientRoleMapping.clientId.tooltip", - "label": "usermodel.clientRoleMapping.clientId.label", - "name": "usermodel.clientRoleMapping.clientId", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "usermodel.clientRoleMapping.rolePrefix.tooltip", - "label": "usermodel.clientRoleMapping.rolePrefix.label", - "name": "usermodel.clientRoleMapping.rolePrefix", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "usermodel.clientRoleMapping.tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Client Role", - }, - }, - Object { - "cells": Array [ - "User Property", - "Map a built in user property (email, firstName, lastName) to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a built in user property (email, firstName, lastName) to a token claim.", - }, - "id": 5, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a built in user property (email, firstName, lastName) to a token claim.", - "id": "oidc-usermodel-property-mapper", - "name": "User Property", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.prop.tooltip", - "label": "usermodel.prop.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Property", - }, - }, - Object { - "cells": Array [ - "Hardcoded Role", - "Hardcode a role into the access token.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcode a role into the access token.", - }, - "id": 6, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Hardcode a role into the access token.", - "id": "oidc-hardcoded-role-mapper", - "name": "Hardcoded Role", - "priority": 20, - "properties": Array [ - Object { - "helpText": "Role you want added to the token. Click 'Select Role' button to browse roles, or just type it in the textbox. To specify an application role the syntax is appname.approle, i.e. myapp.myrole", - "label": "Role", - "name": "role", - "secret": false, - "type": "Role", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcoded Role", - }, - }, - Object { - "cells": Array [ - "Hardcoded claim", - "Hardcode a claim into the token.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcode a claim into the token.", - }, - "id": 7, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Hardcode a claim into the token.", - "id": "oidc-hardcoded-claim-mapper", - "name": "Hardcoded claim", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "Value of the claim you want to hard code. 'true' and 'false can be used for boolean values.", - "label": "Claim value", - "name": "claim.value", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Hardcoded claim", - }, - }, - Object { - "cells": Array [ - "Pairwise subject identifier", - "Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers.", - }, - "id": 8, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Calculates a pairwise subject identifier using a salted sha-256 hash. See OpenID Connect specification for more info about pairwise subject identifiers.", - "id": "oidc-sha256-pairwise-sub-mapper", - "name": "Pairwise subject identifier", - "priority": 0, - "properties": Array [ - Object { - "helpText": "sectorIdentifierUri.tooltip", - "label": "sectorIdentifierUri.label", - "name": "sectorIdentifierUri", - "secret": false, - "type": "String", - }, - Object { - "helpText": "pairwiseSubAlgorithmSalt.tooltip", - "label": "pairwiseSubAlgorithmSalt.label", - "name": "pairwiseSubAlgorithmSalt", - "secret": false, - "type": "String", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Pairwise subject identifier", - }, - }, - Object { - "cells": Array [ - "User's full name", - "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - }, - "id": 9, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User's full name", - }, - }, - Object { - "cells": Array [ - "Allowed Web Origins", - "Adds all allowed web origins to the 'allowed-origins' claim in the token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - }, - "id": 10, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - "id": "oidc-allowed-origins-mapper", - "name": "Allowed Web Origins", - "priority": 0, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Allowed Web Origins", - }, - }, - Object { - "cells": Array [ - "Audience", - "Add specified audience to the audience (aud) field of token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Add specified audience to the audience (aud) field of token", - }, - "id": 11, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Add specified audience to the audience (aud) field of token", - "id": "oidc-audience-mapper", - "name": "Audience", - "priority": 0, - "properties": Array [ - Object { - "helpText": "included.client.audience.tooltip", - "label": "included.client.audience.label", - "name": "included.client.audience", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "included.custom.audience.tooltip", - "label": "included.custom.audience.label", - "name": "included.custom.audience", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "false", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience", - }, - }, - Object { - "cells": Array [ - "User Attribute", - "Map a custom user attribute to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a custom user attribute to a token claim.", - }, - "id": 12, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user attribute to a token claim.", - "id": "oidc-usermodel-attribute-mapper", - "name": "User Attribute", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.attr.tooltip", - "label": "usermodel.attr.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "aggregate.attrs.tooltip", - "label": "aggregate.attrs.label", - "name": "aggregate.attrs", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Attribute", - }, - }, - Object { - "cells": Array [ - "Group Membership", - "Map user group membership", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map user group membership", - }, - "id": 13, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map user group membership", - "id": "oidc-group-membership-mapper", - "name": "Group Membership", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "Include full path to group i.e. /top/level1/level2, false will just specify the group name", - "label": "Full group path", - "name": "full.path", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Group Membership", - }, - }, - Object { - "cells": Array [ - "Audience Resolve", - "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - }, - "id": 14, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": true, - "isLastVisible": true, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - "id": "oidc-audience-resolve-mapper", - "name": "Audience Resolve", - "priority": 30, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience Resolve", - }, - }, - ] - } - > - + ' ' + ", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - }, - "id": 9, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User's full name", - }, - }, - Object { - "cells": Array [ - "Allowed Web Origins", - "Adds all allowed web origins to the 'allowed-origins' claim in the token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - }, - "id": 10, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all allowed web origins to the 'allowed-origins' claim in the token", - "id": "oidc-allowed-origins-mapper", - "name": "Allowed Web Origins", - "priority": 0, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Allowed Web Origins", - }, - }, - Object { - "cells": Array [ - "Audience", - "Add specified audience to the audience (aud) field of token", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Add specified audience to the audience (aud) field of token", - }, - "id": 11, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Add specified audience to the audience (aud) field of token", - "id": "oidc-audience-mapper", - "name": "Audience", - "priority": 0, - "properties": Array [ - Object { - "helpText": "included.client.audience.tooltip", - "label": "included.client.audience.label", - "name": "included.client.audience", - "secret": false, - "type": "ClientList", - }, - Object { - "helpText": "included.custom.audience.tooltip", - "label": "included.custom.audience.label", - "name": "included.custom.audience", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "false", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience", - }, - }, - Object { - "cells": Array [ - "User Attribute", - "Map a custom user attribute to a token claim.", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map a custom user attribute to a token claim.", - }, - "id": 12, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map a custom user attribute to a token claim.", - "id": "oidc-usermodel-attribute-mapper", - "name": "User Attribute", - "priority": 0, - "properties": Array [ - Object { - "helpText": "usermodel.attr.tooltip", - "label": "usermodel.attr.label", - "name": "user.attribute", - "secret": false, - "type": "String", - }, - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "helpText": "jsonType.tooltip", - "label": "jsonType.label", - "name": "jsonType.label", - "options": Array [ - "String", - "long", - "int", - "boolean", - "JSON", - ], - "secret": false, - "type": "List", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "multivalued.tooltip", - "label": "multivalued.label", - "name": "multivalued", - "secret": false, - "type": "boolean", - }, - Object { - "helpText": "aggregate.attrs.tooltip", - "label": "aggregate.attrs.label", - "name": "aggregate.attrs", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User Attribute", - }, - }, - Object { - "cells": Array [ - "Group Membership", - "Map user group membership", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Map user group membership", - }, - "id": 13, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Map user group membership", - "id": "oidc-group-membership-mapper", - "name": "Group Membership", - "priority": 0, - "properties": Array [ - Object { - "helpText": "tokenClaimName.tooltip", - "label": "tokenClaimName.label", - "name": "claim.name", - "secret": false, - "type": "String", - }, - Object { - "defaultValue": "true", - "helpText": "Include full path to group i.e. /top/level1/level2, false will just specify the group name", - "label": "Full group path", - "name": "full.path", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Group Membership", - }, - }, - Object { - "cells": Array [ - "Audience Resolve", - "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - }, - "id": 14, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": true, - "isLastVisible": true, - "item": Object { - "category": "Token mapper", - "helpText": "Adds all client_ids of \\"allowed\\" clients to the audience field of the token. Allowed client means the client - for which user has at least one client role", - "id": "oidc-audience-resolve-mapper", - "name": "Audience Resolve", - "priority": 30, - "properties": Array [], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "Audience Resolve", - }, - }, - ] - } - > -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + ' ' + ", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - }, - "id": 9, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User's full name", - }, - } - } - rowIndex={9} - rowKey="9-row" - > - + ' ' + ", - ], - "description": Object { - "props": Object { - "isVisible": true, - }, - "title": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - }, - "id": 9, - "isExpanded": undefined, - "isFirst": false, - "isFirstVisible": false, - "isHeightAuto": false, - "isLast": false, - "isLastVisible": false, - "item": Object { - "category": "Token mapper", - "helpText": "Maps the user's first and last name to the OpenID Connect 'name' claim. Format is + ' ' + ", - "id": "oidc-full-name-mapper", - "name": "User's full name", - "priority": 0, - "properties": Array [ - Object { - "defaultValue": "true", - "helpText": "includeInIdToken.tooltip", - "label": "includeInIdToken.label", - "name": "id.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInAccessToken.tooltip", - "label": "includeInAccessToken.label", - "name": "access.token.claim", - "secret": false, - "type": "boolean", - }, - Object { - "defaultValue": "true", - "helpText": "includeInUserInfo.tooltip", - "label": "includeInUserInfo.label", - "name": "userinfo.token.claim", - "secret": false, - "type": "boolean", - }, - ], - }, - "name": Object { - "props": Object { - "isVisible": true, - }, - "title": "User's full name", - }, - } - } - rowProps={ - Object { - "rowIndex": 9, - "rowKey": "9-row", - } - } - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
    + + + User Session Note + + , + + + Map a custom user session note to a token claim. + + , + ] + } + key=".0" + rowid="User Session Note" + > +
    + +
    - -
    - - - - - - - - - - + + +
    + Map a custom user session note to a token claim. +
    +
    + + + + + + + +
  • + +
    + + + User Address + + , + + + Maps user address attributes (street, locality, region, postal_code, and country) to the OpenID Connect 'address' claim. + + , + ] + } + key=".0" + rowid="User Address" + > +
    + +
    - -
  • - - - - - - - - - - - - - - - -
    - name - - description -
    - - + + , + ] + } + key=".0" + rowid="Audience Resolve" + > +
    + +
    + Audience Resolve +
    +
    + +
    + Adds all client_ids of "allowed" clients to the audience field of the token. Allowed client means the client + for which user has at least one client role +
    +
    +
    + + + + + + +