Protecting applications with the use of developers metadata
Instructions on how to protect an application using details on a developer who created the application
Developer metadata can be used for validating policies. It enables, for example, blocking the scope assignment to an application created by a developer identified with specific metadata.
- You can log in to ACP as an administrator.
- You have at least one application in ACP.
Navigate to the ACP portal in your browser and log in with your credentials.
In the ACP home page, go to CHANGE WORKSPACE in the sidebar and click to preview available options.
From the CHANGE WORKSPACE menu, select a workspace that you want to configure.
Navigate to app metadata
In the workspace, select Applications from the sidebar.
In the Applications view, select an application that you want to check the metadata on.
In the application view, select the Metadata tab.
Identify dev metadata
In the Metadata view, navigate to Developer metadata and review available content, if any.
You’ve learned details on a developer who created the application and you are able to use this data for your purposes.
Select Policies from the sidebar.
In the Policies view, select CREATE POLICY.
In the Create Policy view, select the policy type from the drop-down list by setting it to User or Machine to machine.
Only User and Machine to machine policy types support the developer-metadata validator.
Still in the Create Policy view
- Enter Policy name.
- Enter Display name.
- Set Policy language to CLOUDENTITY.
- Select CREATE to proceed.
In the policy generating engine, select ADD VALIDATOR.
From the fly-out Add new validator pane, select Developer.
In the Developer validator, select ADD FIELD.
In the Cross context condition editor, select an attribute for the developer context from the drop-down list, for example URL of the webpage.
You can also define your own attribute by selecting Custom value from the top of the list of predefined attributes.
Continue the validator setup in the Cross context condition editor:
- Select an attribute operator, for example, equals.
- Enter a value (target) for your attribute that would validate the policy, for example,
- Select SAVE to complete the field setup.
Select the OK icon from the top right corner if you’re done with adding fields.
If you’re done with adding validators, select SAVE to complete the policy setup.
Your policy validating developer metadata is ready to be used.
Use the developer metadata for various authorization operations on the 3rd party application in ACP. See, for example, Protecting scopes with access policies as a reference.