How to authorize NowSDK, if our accounts with basic auth has limits, and users use SAML2.0 auth

Jan Michalcak
Tera Contributor

How can we authorize SDK, or where to get password or token for our personal accounts to try to use SDK?
We have non-interactove users we use for API calls, but for some reason SDK needs GUI access? That does not make sense, it is comandline tool.

JanMichalcak_0-1728996654650.png

Thanks, Jan

 

1 ACCEPTED SOLUTION

Venkat79
ServiceNow Employee
ServiceNow Employee

Hi @Jan Michalcak,

In certain parts we do need the UI Session due to platform restrictions. As of now we support only basic auth for authenticating to the instance using the SDK.

We have a new version of ServiceNow SDK (2.1) releasing soon, which adds support for SAML2.0 using OAuth. Will update here once we release the new version. 

Thanks
Venkat

View solution in original post

6 REPLIES 6

Venkat79
ServiceNow Employee
ServiceNow Employee

Hi @Jan Michalcak,

In certain parts we do need the UI Session due to platform restrictions. As of now we support only basic auth for authenticating to the instance using the SDK.

We have a new version of ServiceNow SDK (2.1) releasing soon, which adds support for SAML2.0 using OAuth. Will update here once we release the new version. 

Thanks
Venkat

Thank you for insight.
Do you know approximate release or at least which quartal we can expect to have this version available?

Thanks, Jan

You should see the new version in a week or 2 

-- Venkat

sx4362
Tera Contributor

Hello @Venkat79 

out of curiosity, is the UI session needed generally for the SDK to work with server side script include files, or is this purely needed for the ServiceNow Fluent?

 

Thanks, Samuel