Skip to main content
Nintex Community Menu Bar
Question

How to Configure K2 5.7 to Obtain SSO Token for Invoking RESTful APIs using client credential flow ?

  • July 23, 2024
  • 4 replies
  • 109 views

Forum|alt.badge.img+1

We are currently facing a challenge in our project where we are trying to integrate our K2 environment with a RESTful API.

The API requires authentication using the OAuth 2.0 client credentials flow. 

We have attempted to configure the system via the “Management/#Authentication/OAuth/Resources” pathway. However, we are consistently redirected to the login page.

Our objective is to generate a token without user interaction, as this is a backend API. We would appreciate any guidance on this matter.

 

Thank you.

 

 

4 replies

Deon
Forum|alt.badge.img+10
  • Rookie
  • July 23, 2024

@AKM_KSU can you perhaps share a screenshot of your OAUTH Resource configuration?


Forum|alt.badge.img+1
  • Author
  • Rookie
  • July 24, 2024
screenshot of OAUTH Resource configuration

 


Deon
Forum|alt.badge.img+10
  • Rookie
  • July 24, 2024

Thanks @AKM_KSU ,

can you also send a screenshot of the OAUth Resource parameters which shows up below the OAuth Resources when you click on your OAUTH Resource. That is the important bit.

Also, the values for the endpoint you show above does not appear to be valid URLs or did you obfuscate the real URLs?

No need to as endpoint URLs are always publically available and not a security risk, if know.


Forum|alt.badge.img+1
  • Author
  • Rookie
  • July 28, 2024

Hi Deon,

 

yes the endpoints are not real as I’m not allowed to publish.