The Akumina Framework based front-end site uses a combination of cookies and tokens for authentication with the AppManager and accessing the SharePoint/O365 data through the GraphAPI. For security tuning, the duration of both the token and the cookie are configurable.
Configuring the Token Duration
In the DigispaceConfigurationIDS_AK list in the SharePoint Site Contents, add the following item:
AkTokenDuration
with the value you want the token to last for in minutes
Example:
This will result in the token persisting for 14 days.
Configuring the Cookie Duration
In the interchange.settings.config file, which is part of the AppManager installation, add or set the following key:
<add key=”akumina:DwpCookieDuration” value=””/>
Where the value is specified in minutes.
This is how long the DWP cookie stays good for, which allows you to query AppManager(GRAPH API) without going through the redirect..