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

It's mainly used by SDK and not needed by fluent. We might remove the dependency on UI Session in the future though

Venkat79
ServiceNow Employee
ServiceNow Employee

@Jan Michalcak
We have released version 2.1 of the SDK today, you can find more info in the community article
To Configure OAuth flow refer to Configuring OAuth with SDK article.

let us know if you have any questions.

-- Venkat