Use ServiceNow Extension for VS Code with SSO instance

jxsaxton421
Tera Guru

Is there a separate process for using the Servicenow Extension in VS Code with an instance that has SSO and 2FA on it? We use SSO on all our instances, so each user has a login to dev, test, and prod. I am not sure if the VS Code Extension could support that? If I choose basic it fails. 

2 REPLIES 2

Shasank
ServiceNow Employee
ServiceNow Employee

You need to select 'OAuth + MFA' option in Authentication (instead of basic).

find_real_file.png

Enter your username, password, client id, client secret, code / otp.

And you should be able to talk to your instance from the extension.

But does that actually work for SSO logins? How would I setup the client id and secret to login? My instance currently uses DUO and a prompt for SSO logins after I enter my work credentials. I am not clear how SSO is configured for the extension, there is no documentation for it. Someone else said SSO is not supported, so maybe in future releases?