We are getting audience in addQueryParameter('audience','unique id '); No idea how we are getting ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
55m ago
We are getting audience in addQueryParameter('audience','unique id '); No idea how we are getting?
addQueryParameter data we are storing in the application registry.
Kindly help me to resolve this puzzles.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
26m ago
Most likely the audience value is coming automatically from the OAuth/Application Registry configuration, not from addQueryParameter() itself.
Check:
- System OAuth > Application Registry
- Connection & Credential Alias
- OAuth Entity Profile
Search globally for:
audienceVery commonly, ServiceNow injects it automatically for OAuth/JWT flows (Azure, Okta, etc.).
Also check the outbound REST log to see the final generated request.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
25m ago
