Create Oauth entity record via App built on Service Now

rashijaiswa
Tera Contributor

Hey folks,

So we want to have an inbound Oauth 2.0 setup for our customers who use Service Now. Additionally we want to create a business rule that’ll help us listen to events (any status change) for requests created from our platform.

 

Now I understand that only an admin/security_admin can create record in oauth_entity table but it’s not at all necessary that the ServiceNow admin is part of our platform.

Even creating business rule requires an admin role.

 

To make this process smoother I was trying to create an app (using App Engine Studio), despite using an admin (and also elevated role of security admin) for my user, the app keeps giving error “This operation is prohibited by security rules.” The app simply takes certain fields via form and then triggers the workflow to create record in oauth_entity, but throws error here. I noticed the app also creates an ACL, I added admin role even to this ACL but no help.

 

Can anybody help if I’m doing the right thing here? Or getting the oauth client created via admin manually is the only way?

 

0 REPLIES 0