We are using K2 SmartObject with Authentication Mode configured as OAuth in K2 5.4 FP23.
The issue is that when a user executes the SmartObject via a SmartForm for the first time, the system always redirects the user to the OAuth authorize URL and requires the user to manually provide consent.
We would like to know if there is a way to prevent this first-time redirect and consent prompt.
Is there any configuration or approach (e.g., admin pre-consent, service account configuration, or token pre-authorization) that would allow users to execute the SmartObject without being redirected to the authorize URL on first use?
Our goal is to avoid requiring each end user to manually grant consent when accessing the SmartObject for the first time.
Environment:
-
K2 Version: 5.4 FP23
-
Authentication Mode: OAuth
-
SmartObject executed via SmartForm