How to setup outbound integration connection with a plain based token authentication?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi All,
I am currently working on an outbound integration and trying to set up a connection. I have received a Token and it is a plain based token authentication not OAuth/OIDC based authentication. I have created credentials/connections and also REST messages with HTTP header as Authentication - Token <token value>.
But when I am testing it, I am not able to connect with the third party. It is giving me an error - Authentication credentials not provided.
When I tried to test the connection with Postman, it is working fine.
Need help to fix the connection issue.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @User205031 ,
- Can you please tell your syntax that how you had configured?
- You need to check what the third party expects -
- What exact header name does your API expect for the token?
→ Common variants:Authorization,Authentication,X-Auth-Token,X-API-Token,api-key. - If
Authorization, what scheme is required?
→ e.g.,Authorization: Bearer <token>vsAuthorization: Token <token>vsAuthorization: ApiKey <token>. - Is the header case-sensitive or the scheme keyword case-sensitive?
- What exact header name does your API expect for the token?
Stay awesome,
Roshnee Dash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Roshnee Dash ,
I have used : Authorization: Token <token>
With postman, the connection is working fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
share some screenshots.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Ankur Bawiskar ,
1. First I have set up a Credential with API key (I have stored the token value I have received from client)
2. I have created a Connection Alias:
3. Next is the HTTP Connection:
4. Created a REST Message with HTTP Method:
When I tried to test a connection, getting this error:
There is Authentication credential issue.
Not able to fix this.
