โ07-14-2023 11:13 AM
Hi, I have configured a pipeline to trigger another pipeline via triggered task. The first pipeline triggers the second one by calling a triggered taskโs secured REST URL, using the REST GET snap. I have tested the REST authentication for this purpose by using my own credentials as basic authentication and found success.
However, when I create a SnapLogic account and tick the โProvision this user as a service account.โ checkbox, then use this accountโs credentials to authenticate the REST call, I get an โUnauthorizedโ error.
I canโt find helpful documentation for this, am I configuring this account wrongly?
Solved! Go to Solution.
โ07-18-2023 01:07 AM
Hi @JPaps,
By default the service account does not have an access to the task youโre calling, or any other task except if it is in the main shared folder if Iโm not mistaken.
Youโll have to explicitly give access for the service account, on the project where the task is sitting.
Let me know if this helps,
Regards,
Bojan
โ07-18-2023 01:07 AM
Hi @JPaps,
By default the service account does not have an access to the task youโre calling, or any other task except if it is in the main shared folder if Iโm not mistaken.
Youโll have to explicitly give access for the service account, on the project where the task is sitting.
Let me know if this helps,
Regards,
Bojan
โ07-18-2023 11:08 AM
Thanks for your response. I have added the new service account to the Permissions List of the desired project and it is now able to call triggered tasks within it.