-
In Authorization Servers, select the authorization server just created. For example, SDx API.
-
Select the Access Policies tab, and click Add Rule.
Rules allow for the configuration of the token lifetime and expiration.
-
In the Add Rule dialog box, set the rules as the following example:
Option
Detail
Rule Name
SDx Token Rule
IF Grant type is
Client acting on behalf of itself
Client Credentials
IF Grant type is
Client acting on behalf of a user
Authorization Code
Implicit
Resource Owner Password
AND User is
Any user assigned the application
AND Scopes requested
Any scopes
THEN Access token lifetime is
1 Hour
AND Refresh token lifetime is
Unlimited
BUT will expire if not used every
7 Days
-
Click Create Rule.