At what point are the taxpayers API credentials used? Any time we make a call using APP keys, we get this error message. But if we change the keys to taxpayer keys, it says the user doesn’t have access to this resource. Kindly provide guidance
Dear @skillet,
The challenge you are experiencing is because you are attempting to authenticate a taxpayer who has not selected you as their APP.
For an APP to authenticate a taxpayer, the taxpayer must first provide explicit consent by selecting you as their preferred APP on the taxpayer portal. Without this selection, you will not have the required permissions to call the relevant endpoints on their behalf.
Based on our assumption of your current stage, it appears you are still in the integration phase and may not yet be listed for any taxpayer’s selection. As such, you will be unable to call the taxpayer’s auth endpoints for now.
As part of the implementation process, a Test Entity has already been provisioned for you. Kindly use your APP API keys to call the Search Entity endpoint to retrieve the credentials of your test entity. You may then use the returned Entity ID and associated test details to simulate the remaining flows post the authentication and other integration scenarios during your implementation.
Please proceed accordingly and let us know if further clarification is required.

