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 ?

  • Jul 23, 2024 7:28 AM UTC
  • 4 replies
  • 223 views
  • Translate All

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
  • Jul 23, 2024 11:00 PM UTC

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

Translate

Forum|alt.badge.img+1
  • Author
  • Nintex Partner
  • Jul 24, 2024 8:35 AM UTC
screenshot of OAUTH Resource configuration

 

Translate

Deon
Forum|alt.badge.img+10
  • Rookie
  • Jul 24, 2024 11:35 PM UTC

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.

Translate

Forum|alt.badge.img+1
  • Author
  • Nintex Partner
  • Jul 28, 2024 6:19 AM UTC

Hi Deon,

 

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

 

 

Translate