Basic Authentication is disabled and Token Based Authentication and OAuth is disabled in Zurich

sriram-v
Tera Contributor

Post Upgrade of my Tenant , I have lost access to make API calls from outside to my SaaS Personal instance completely ,it was working fine all these years but it has stopped working since the Upgrade to Zurich Tenant , all possible ways of making API calls with Basic Authentication is disabled and Token Based Authentication and OAuth is disabled in Zurich Tenant.

1 ACCEPTED SOLUTION

Hi @sriram-v ,
1.Navigate to system properties and apply the filter
nameSTARTSWITHglide.authenticate.basic_auth

Rakesh_M_1-1791976230432.png

 

2.If glide.authenticate.basic_auth.restriction.enforce is true
Check the role under property glide.authenticate.basic_auth.allowed_roles

3.In my case it's snc_basic_auth_api_access role.

4.So Assign the same role to admin account/user account you are using for API Calls

Rakesh_M_2-1791976497571.png

 

 

View solution in original post

6 REPLIES 6

Tanushree Maiti
Tera Patron

Hi @sriram-v 

 

"Basic Authentication is disabled and Token Based Authentication and OAuth is disabled in Zurich Tenant ." As per your statement , what do mean disabled ?  Is it become read only for you.

 

Could you also share a screenshot of the current configuration so we can better understand the issue?

 

If the connection has been interrupted, please try re-establishing it and let us know if the issue persists.

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Rakesh_M
Mega Sage

Hi @sriram-v ,

I believe Basic Authentication Restriction is enabled on your instance. When this restriction is enabled, only users with the snc_basic_auth_api_access role can make API requests using Basic Authentication.

Try adding the snc_basic_auth_api_access  role to your user record and test the API call again.

Hi Rakesh , I have been using REST APIs in SNOW since 2020 and it been working well and have used it to create multiple UseCases , but lately since my last PDI got deprovisioned and I created a New one in Zurich , I see despite adding all possible Roles as shown below (in my case totalling 309 including my Table roles) , it is unable to perform REST calls and I keep getting a 401 Error , later I noticed that the Global Setting glide.basicauth.required.api = true is enabled , so I tried through API Key , only to discover API Key access is also Globally disabled in the Zurich Tenant and these options are greyed out ,so I cant enable them again , I tried OAuth too but unsuccessfully :

sriramv_0-1791956968761.png

 

Hi @sriram-v ,
1.Navigate to system properties and apply the filter
nameSTARTSWITHglide.authenticate.basic_auth

Rakesh_M_1-1791976230432.png

 

2.If glide.authenticate.basic_auth.restriction.enforce is true
Check the role under property glide.authenticate.basic_auth.allowed_roles

3.In my case it's snc_basic_auth_api_access role.

4.So Assign the same role to admin account/user account you are using for API Calls

Rakesh_M_2-1791976497571.png