Hello Team,
I have created Workflow API wth REST. Its working with normal/service user credentails ,however when I am trying to use OAuth2.0 through postman, its failing with 401 User unathorized to execute the /rest/worflow/launch. I have granted the Webservices Executor and SystemAdministrator capabilities. in Postman its generating the Token successfully however its failing. If you have any idea ,could you please suggest me or provide your inputs. IIQ v8.4 we are using. Thank you.
Hi @shamalas,
try to give SCIM Executor capability too.
Hi @shamalas System Administrator capability should be enough… however please try to consume another API like /Users or /Entitlements and check if it works or not.
Hi @shamalas,
Is it possible for you to share the snapshot of how you are using the token to make call.
Thanks
I have provided all the capabilities and tested, however the same error I am getting. Thanks.
OAuth Token URL was configured in Postman, which is generating the token id and its updating in the CurrentToken section in the postman. I have also tested the same by generating with curl on the IIQ server and updated in the Token field as per Document. In both cases I am getting the below error.
The error is like below
User is unauthorized to access: /rest/workflows/CCI%20Workflow%20Update%20EndDate%20API/launch