Rest Message (Bearer Authentication Issue)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 08:00 AM
Hello all,
I'm trying to integrate with Kandji, and it required bearer authentication. I tried this with Postman, selecting bearer as the authentication type, and it worked. As shown in the screenshot below, I tried it through the rest message, but it returned an error. Does anyone know how to configure a rest message for bearer authentication?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 09:32 AM
Hi @Akshay Jadhav1 ,
Try the below:
Instead of Authorization: use Authorization (without colon)
and in value, Bearer then space {token}
Now, give it is a try.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2024 10:08 PM
Thank you for your response. I tried your solution, and it stopped giving the bearer token error, but now it is showing the above error even though I have the correct bearer token, which works fine in Postman as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2024 10:30 PM
Hi @Akshay Jadhav1 ,
Review the below, if it helps:
Mark this as Helpful / Accept the Solution if this helps.