Manage JavaScript mapping rules
Create, edit, or delete JavaScript mapping rules.
When you activate the Federation offering, the following mapping rule types are available:
- OIDC
- OpenID Connect mapping rule.
- SAML2_0
- SAML 2.0 mapping rule.
Steps
- Click Federation.
- Under Global Settings, click Mapping Rules. All existing mapping rules are displayed.
- We can create, edit, or delete a mapping rule.
- To create a mapping rule
- Click Add.
- In the Content field, enter the JavaScript mapping rule content.
- In the Name field, enter a name for the rule.
- In the Category field, select the type of the mapping rule from the list, or type a name to create our own mapping rule type. Only the mapping rule types that apply to the current activated offering are displayed in the list.
- Click Save.
- To modify a mapping rule
- Select the mapping rule to modify.
- Click Edit.
- Modify the mapping rule in the Content field as needed. The Name and Category fields are not editable.
- Click Save.
- To delete a mapping rule Do not delete a mapping rule that is currently used by a SAML 2.0 or OpenID Connect federation.
- Select the mapping rule to delete.
- Click Delete.
- Confirm the delete operation.
- Import a mapping rule from another mapping rule
We can reuse mapping rules by importing a mapping rule from another mapping rule.
Parent topic: Federation administration