Subscribing to an authorization scheme allows developers to reuse security settings across multiple applications in a workspace. By subscribing, changes made to the master authorization scheme will automatically apply to the subscribed schemes, ensuring consistency across applications.
If you want to use an existing authorization scheme from another application, you can subscribe to it directly. Alternatively, you can copy an authorization scheme and then subscribe to it.
Steps to Subscribe to an Authorization Scheme
Navigate to the Authorization Schemes Page
From the Workspace home page, click on the App Builder icon.
Select the application in which you want to subscribe to an authorization scheme.
On the Application home page, click Shared Components to open the Shared Components page.
Under Security, click Authorization Schemes.
The Authorization Schemes page appears, displaying key details such as Subscribed From, Subscription Status, and Subscribers.
Select an Authorization Scheme
Click on the authorization scheme you want to subscribe to.
The Edit Authorization Scheme page appears.
Subscribe to an Authorization Scheme
Locate the Subscription section.
In the Subscribe From field, select the application containing the master authorization scheme.
Click Apply Changes to confirm the subscription.
Once subscribed, the authorization scheme will automatically update whenever the master scheme is modified.
Refreshing a Subscribed Authorization Scheme
If the master authorization scheme is updated and you want to apply the latest changes, you can refresh the subscription.
Locate the Subscription section.
Click Refresh Scheme to update the authorization scheme with the latest version from the master application.
Click Apply Changes to confirm.
Unsubscribing from an Authorization Scheme
If you no longer want the authorization scheme to be linked to the master scheme, you can unsubscribe.
Locate the Subscription section.
Click Unsubscribe to break the link to the master scheme.
By using authorization scheme subscriptions, developers can ensure uniform security policies across multiple applications while reducing maintenance effort.