The CreatorCon Call for Content is officially open! Get started here.

I can't find the oauth_token table

miyu
Tera Guru

General users cannot access the endpoint with the REST API, and the response code returns 401.
After some research, I found that the ACL in the oauth_token table needs to be set in order for a regular user to access the endpoint via the REST API.
However, I can't find the oauth_token table.
Where can I find the table?
Also, is there any other way to make the endpoint accessible to regular users?

9 REPLIES 9

Hello,

Please review this thread for ways to troubleshoot your 401 error:

https://community.servicenow.com/community?id=community_question&sys_id=9e18f118dbdb6780fa192183ca96...

Please mark reply as Helpful/Correct, if applicable. Thanks!

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Tony Chatfield1
Kilo Patron

Hi OOB the token table is module System OAuth > Manage Tokens

The table name is oauth_credential

The URL is /oauth_credential_list.do?

Thank you.
I changed the ACL in the oauth_credential table, but it still returns 401.
Is there anything else I need to set?

Hitoshi Ozawa
Giga Sage
Giga Sage

OAuth Credentials are entered from "System OAuth" > "Manage Tokens" page. The table name is "oauth_credential".

https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/security/task/t_Man...

 

Thank you.
I changed the ACL in the oauth_credential table, but it still returns 401.
Is there anything else I need to set?