Skip to main content
Question

Service Account UserToken for API Calls into another app

  • May 7, 2019 7:30 PM UTC
  • 0 replies
  • 32 views

The Use Case is trying to check if a checkbox is checked in a "Process Control" table/app... which only Realm Admins have access to.

This app is used as a go between our QB environment and on-prem SQL Server... I've attempted to use our Service account's user token for API DoQuery to check the target table first... but it comes back with a 1 error of "You do not have access to this app" for the actual user.

Me, with access to the Process Control App, has no issues.

I have confirmed that our Service Account does have admin role for the Process Control app.

I'm sure I'm overlooking something basic... Thanks in advance for any insight.
This topic has been closed for replies.

  • Author
  • Qrew Captain
  • May 7, 2019 10:32 PM UTC
**Update** I've done some further research and it appears my issue is that the usertoken isn't overwriting the permissions of the user that is actually logged in.