Authentication methods when calling REST API with workflow robots
Apr 18, 2024
05:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 18, 2024
05:43 AM
Authentication methods when calling REST API with workflow robots
Hi experts,
We are developing an add-on using some REST APIs(such as NewDownstreamBranch) to automate some UI operations of the BOM Transformer with workflow robot processing. Currently, when calling the REST API, we need to authenticate the workflow initiator, but we face the challenge of not having a way to obtain the user's password information. Is there a good way to obtain the password and pass it to the REST API? Would there be a way to obtain the password if it's an unsupported API? Alternatively, is there another authentication method that does not involve directly passing the password to REST API? If there is no viable method, we are considering requiring users to enter their password for this process.
Labels:
- Labels:
-
REST Services
3 REPLIES 3
Apr 19, 2024
06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 19, 2024
06:50 AM
If using LDAP, try getSingleValue(WTUser.AUTHENTICATION_NAME)
https://www.ptc.com/en/support/article/CS24336
Apr 22, 2024
03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 22, 2024
08:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 22, 2024
08:56 AM
Hi shin1h
It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Regards,
Andra
Andra
