Manage OAuth 2.0 and OIDC mapping rules
Use the mapping rules to customize the methods for the OAuth 2.0 or OIDC flow.
The OAuth 2.0 and OIDC mapping rules are JavaScript code that run during the OAuth 2.0 or OIDC flow. We can view, export, and replace OAuth or OIDC mapping rules.
View the mapping rule if we want to see the content and structure of the mapping rule. Export the mapping rule if we want to save a copy of the mapping rule. We can also edit this copy. Replace a mapping rule if to use a new mapping rule.
Steps
- Log in to the local management interface.
- Click AAC > Policy > OpenID Connect and API Protection or Federation > Manage > OpenID Connect and API Protection.
- Click Mapping Rules.
- Perform one or more of the following actions:
- View a mapping rule
- Select a mapping rule.
- Click . The View Mapping Rule panel opens. The content of the mapping rule is displayed.
- Click OK to close the panel.
- Export a mapping rule
- Select a mapping rule.
- Click .
- Choose a location and save the file.
- Replace a mapping rule:
- Use an existing mapping rule as the basis for the updated mapping rule.
- Select a mapping rule to replace.
- Click . The Replace Mapping Rule panel opens.
- Click the field or Browse and select a file.
- Click OK to upload the mapping rule.
- When you replace a mapping rule, the appliance displays a message there are undeployed changes. If we are finished with the changes, deploy them.
For information, see Deploying pending changes.
Parent topic: Mapping rules for OAuth and OIDC
Related reference