Hello,
IMO, it all depends upon the usecase and on the nature of the client and the level of security you need.
For the above usecase, we are interacting M2M (machine to machine) where there is no manual intervention, It is recommended to use client credentials.
We have other grant types for other scenarios. From the abive some of them are deprecated or not recommeneded to use like Implict grant flow and Resource owner.
What i have seen Authorization code grant flow is manily implemented for mobile app where user logs in using browser.
Regards
Vikash Sharma
------------------------------
Vikash Sharma
------------------------------
Original Message:
Sent: Tue August 05, 2025 04:09 PM
From: Developer EDI
Subject: what is the best suited Oauth grant Type when exposing webmethods IS service as API?
Hi Folks,
I would like to expose WebMethods 10.15 service as Rest API, may I know which is the best Oauth grant type to use with it.
source application is on internet/ 3rd party system consuming WebMethods rest API. No use of webmethods enterprise gateway.
- Authorization Code Grant Flow
- Client Credentials Grant Flow
- Resource Owner Password Credentials Grant Flow
- Implicit Resource Grant Flow
------------------------------
Developer EDI
------------------------------