Looking for alternate solutions when an external tool supports only Basic auth for integration

Suggy
Giga Sage

NO CHATGPT /BOT ANSWERS PLEASE!!!

We have an external tool which should be integrated with ServiceNow so that they can create incidents, cmdb data etc.

That tool can ONLY support Basic Auth, but ServiceNow security team wont allow Basic Auth and they are not allowing this integration to be established as Basic auth is not secured enough.

 

Is there any alternate solutions for this situation?

4 REPLIES 4

Mani A
Tera Guru

 Check if the external tool can be configured to use API Key authentication as an alternative otherwise use OAuth 2.0 authentication in ServiceNow

😞 😞 😞 😞 😞 😞 😞

 

Manikanta1
Tera Expert

Check if the external tool can be configured to use API Key authentication as an alternative otherwise use OAuth 2.0 authentication in ServiceNow"

 

Suggy response: I have already clearly menioned in my question - "That tool can ONLY support Basic Auth"

ok use integrationHub feature if you are using flow designer ->you can create Connection & Credential Aliases 

you can configure connections details in it and as well credentials

or use basic auth configurations in REST step

but in your script , you have to decrypt the password like below

 

 var basic_auth_pwd_gr = new GlideRecord('sys_auth_profile_basic');  // or use sys_alis
            basic_auth_pwd_gr.get('putSys_id');
            var basic_auth_pwd = basic_auth_pwd_gr.password;
            var dncr = new GlideEncrypter();
            var dncstring = dncr.decrypt(basic_auth_pwd);