Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Servicenow Oauth connection json

VijayMaram
Regular Contributor
Regular Contributor

Hi Team,

 

VijayMaram_0-1726860742035.png

 

VijayMaram_1-1726863588056.png

 

VijayMaram_2-1726863614854.pngVijayMaram_3-1726863653118.png

Forums we referrred:

https://forums.saviynt.com/t5/identity-governance/servicenow-as-ticketing-system-not-able-to-autenti...

 

https://forums.saviynt.com/t5/identity-governance/service-now-provisioning-issue/m-p/32220#M17687

 

We tried to form json but we are getting 401.


[u_description:Savyint Description, u_short_description:Savyint Short Description, u_task_details:[[short_description:Task Short Description, assignment_group:ENG_INFRA_TOOLS, description:Task Details]], u_requested_for:p17807b]

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-calling executeRequestWithTimeoutConfig for api...

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-Enter getTimeOutConfig

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-connectionType: REST

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-connectionTimeoutConfig before guardRail validation: null

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-INFO: connectionTimeoutConfig is null, setting it to default value

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-Final connectionTimeoutConfig after guardRail validation: [connectionTimeout:10, writeTimeout:60]

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-calling api...

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-before calling executeRequestWithHeaders for api...

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-isFipsEnabled = false

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-getHttpClient - proxyParams : null

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-getHttpClient - sslSocketFactory : null

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-setting connection timeout to 10 seconds and request timeout to 60 seconds

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-getHttpClient - HttpClientBuilder.create().build() called.

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-called executePostRequestWithHeaders for api...

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-after calling executeRequestWithHeaders for api...

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-called api...

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-timeout validated for api...

2024-09-20T13:53:56-05:00-ecm-worker-services.HttpClientUtilityService-quartzScheduler_Worker-5-lf2j2-DEBUG-got response for api...

2024-09-20T13:53:56-05:00-ecm-worker-rest.RestUtilService-quartzScheduler_Worker-5-lf2j2-DEBUG-Got showLogs = true

2024-09-20T13:53:56-05:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-5-lf2j2-DEBUG-Got Webservice API Response: [headers:[Server: snow_adc, Date: Fri, 20 Sep 2024 18:53:56 GMT, Content-Type: application/json;charset=UTF-8, Transfer-Encoding: chunked, Connection: keep-alive, Set-Cookie=******/; SameSite=None, Set-Cookie=******/; HttpOnly; secure; SameSite=None, Server-Timing: sem_wait;dur=0, sesh_wait;dur=0, Set-Cookie=******/; Secure; HttpOnly; SameSite=None, Set-Cookie=******/; Secure; HttpOnly; SameSite=None, WWW-Authenticate: Basic realm="Service-now", X-Content-Type-Options: nosniff, Pragma: no-store,no-cache, Cache-Control: no-cache,no-store,must-revalidate,max-age=-1, Expires: 0, Strict-Transport-Security: max-age=63072000; includeSubDomains], responseText:{"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}, cookies:[BIGipServerpool_bcbstdev=72433e21a56c2e7d93cbc76e758f1bf5; httponly; secure; path=/; SameSite=None, JSESSIONID=065C70D46F0BF10867DAF137A5E79F80; Path=/; HttpOnly; secure; SameSite=None, glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly; SameSite=None, glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly; SameSite=None], statusCode:401]

2024-09-20T13:53:56-05:00-ecm-worker-rest.RestUtilService-quartzScheduler_Worker-5-lf2j2-DEBUG-pullObjectsByRest - responseStatusCode ::401

2024-09-20T13:53:56-05:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-5-lf2j2-DEBUG-Entered getResponseHeaders method

2024-09-20T13:53:56-05:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-5-lf2j2-DEBUG-responseError : null

2024-09-20T13:53:56-05:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-5-lf2j2-DEBUG-isAuthError: false

2024-09-20T13:53:56-05:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-5-lf2j2-DEBUG-pullObjectsByRest - resp

 

Any suggestions?

[This post has been edited by a Moderator to merge posts.]

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]



⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.