How to keep connect alive until the final API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi Community,
We are doing REST API integration with BeyondTrust, and I need to call multiple APIs, as shown in the screenshot, in order.
First, we need to call the Login API, next getaccount, and the remaining APIs. For login, it's successful, and the rest of the APIs are showing "user not authenticated". But it's working as expected when we tried it from Postman.
APIs
How can we keep the connection alive till the end?
Thanks,
Mahender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @Laveena-Agarwal,
We are trying to connect from ServiceNow to BeyondTrust. Login is successful (First API), but it is not returning any token.
Thanks,
Mahender.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
You need to ask the 3rd party, if there is any request header is required or not related to authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Maybe the Bear token was not included when you send requests after the login one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @snowsnow367
Please confirm you sent the header of your API request as per
BeyondTrust Rest API guide : https://docs.beyondtrust.com/bips/v25.2/docs/api#:~:text=%E2%84%B9%EF%B8%8F,server%20name%20in%20you....
Note: Postman handles the session management /cookie management automatically, but your custom ServiceNow integration requires explicit configuration to do so.
