tprouvot / Salesforce-Inspector-reloaded

Chrome extension to add a metadata layout on top of the standard Salesforce UI to improve the productivity and joy of Salesforce configuration, development, and integration.
https://chrome.google.com/webstore/detail/salesforce-inspector-relo/hpijlohoihegkfehhibggnkbjhoemldh
MIT License
180 stars 57 forks source link

Remote Access Authorization Error when trying to connect to Salesforce Inspector Reloadded #449

Open sumanth86 opened 3 months ago

sumanth86 commented 3 months ago

Make sure to read the troubleshooting section before creating an issue

Describe the bug We have installed the Salesforce Inspector Connected App and added the required profiles who need to use them. while it works for system admin, it does not work for the non system-admin profiles. Details are shown in the screenshot

To Reproduce Steps to reproduce the behavior:

  1. Go to Setup as Non-System Admin
  2. Click on Salesforce Inspector and click Generate Token
  3. See error - "Remote Access Authorization'"

Expected behavior As soon as we launch Salesforce inspector and click generate token, it should start working.

Screenshots This error is seen for a non system admin, while it works for system admin image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

tprouvot commented 3 months ago

Hi @sumanth86 ,

I won't be able to check for this bug until next week, sorry for the delay. I'll come back to you if I can reproduce the error

sumanth86 commented 2 months ago

Hi @tprouvot Any update on this, we want to launch Salesforce Inspector Reloadded App to be used across the organization and with this issue it will be a blocker for us.

tprouvot commented 2 months ago

Hi @sumanth86 , Currently in holidays I don't have access to a computer, I'll try to check on Friday if I can and beginning of next week in the worst case scenario. Did you checked if you could reproduce this error in an empty scratch org / dev org?

sumanth86 commented 2 months ago

I was able to reproduce this in our Sandbox, I can try out in Dev Org. Sandbox as refreshed recently - FYI

tprouvot commented 2 months ago

Yes the goal was to try on an empty environment without any of your customisation.

sumanth86 commented 2 months ago

I suspect its v60.0 issue that is causing Salesforce Inspector issue with users non-admins who are refreshed from production. @tprouvot

image

Ok I have tried in my developer edition with V60.0 with non-system admin, I am able to reproduce the issue.

I have used Login-As and saw the issue, same I have tried v59 in the company sandbox but it worked. User highlight even if he trys from his side to generate token, then he is seeing insufficient privileges

tprouvot commented 2 months ago

I'll try for the auth token, for the login as I think it's a permission issue (user needs login as permissions to be able to use the button)

sumanth86 commented 2 months ago

what permissions should we provide at a profile level to launch the Salesforce Inspector? why does it work for system admin and doesnt work for non-admin?