the user is unable to open up the swagger definition and cannot log in with the credentials provided in k2 cloud.
Hi there
To resolve this, you need to add the user under the local security policy. You can navigate here by following this path:
Start menu > Local Security policy > Local Policies > User Rights Management > Log on as Batch Job
When completed, the user should be able to open up the swagger definition as expected.
Have a look at the following link :
https://help.k2.com/support-services/kbt147579
I hope this was helpful
regards
HulisaniN
This is not the correct solution. we are using the k2 cloud.
Good day ProInception
See the following.
- Make sure that you are using fully qualified name to log in, e.g. xxx@yyy.com. Or
- According to guide: “You cannot log in to the Workflow REST API and the SmartObject OData API using Basic Authentication with an Azure Active Directory account that has Multi-Factor Authentication (MFA) enabled. Turn off Multi-Factor Authentication before granting consent. You can then turn MFA back on once consent has been granted”. APIs: https://help.k2.com/onlinehelp/k2cloud/userguide/current/default.htm#K2-Management-Site/Integration/APIs.htm.
Best,
Sunrise
Good day ProInception,
Are you making use of an Azure Active Directory account?
If that's the case then you cannot log in to the WorkFlow REST API and the SmartObject OData using Basic Authentication with an Azure Active Directory account that has multi-Factor Authentication (MFA) enabled. Turin off Multi-Factor Authentication before granting consent. You can then turn MFA back on once consent has been granted.
Additionally please note that if you are authenticating with Azure Active Directory (AAD), you will need to grant consent for K2 to access AAD by clicking the SETUP AAD CONSENT button on the Integration > APIs node. See API Configuration for more information.
For more information see Authentication with the Workflow REST API.
Referencing:
Best regards,
Dumisani
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.