- 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-14-2023 09:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 01:00 AM
Thanks @Jaspal Singh but this does not help in my use case of using it with application registry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 09:27 AM
The syntax can even be simplified a bit from what is provided in those threads using the convenience function exposed via the GlideSystem variable, gs.
var base64Val = gs.base64Encode(clientId + ':' + clientSecret);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 09:35 AM
Thanks @JAmos but where do I use this script if I am using application registry and connection and credentials?