- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 09:00 AM
Hi all,
I have setup an Application Registry record in ServiceNow along with Connection and Credential Alias.
But for this specific integration it is required the client id and client secret are base64 encoded, so how can I do this please? Can this be done via the Oauth API script field option in the app registry record?
When I test with Postman I use the base64 encoded client id secret in the Authorisation header,
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 09:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 01:29 AM
why to encode it? is it a customer requirement?
you usually use the OAuth profile in REST Message
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 01:46 AM
Hi @Ankur Bawiskar, yes its customer requirement and also we can't get the token if the client id and secret are not base64 ecoded and passed through via the header. Can you help me with this please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 01:31 AM
@Ankur Bawiskar @Dr Atul G- LNG @Sandeep Rajput @Danish Bhairag2 @Tai Vu @AnveshKumar M @AndersBGS @Peter Bodelier @Harsh_Deep @Brad Bowman
can any of you help with this please.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 02:03 AM
Hi @Popat420
There is no way to do this directly in the application registry. The best solution would be what @Jaspal Singh suggested.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 02:18 AM
@Peter Bodelier unfrtunately I can't use credentials for this API, it has to be passed via Authorization header and be base64 encoded