0

While logged in community as Partner Community Licence user I am making a oauth with external system using special button and last redirect is a RemoteAccessAuthorizationPage.apexp with ?source= parameter containing long string of random 976 characters.

At this moment I am encountering a

Insufficient Privileges You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. For more information, see Insufficient Privileges Errors.

Any ideas what permissions I am missing?

3 Answers 3

1

I know this is really old, but I just ran into this same problem and have a different cause/solution. I installed an app from the appexchange and it was working great for me, logged in as a System Admin. I had authorized it for all users during install. Before telling staff to check it out, I used Salesforce's Login As feature to test it out. Kept getting:

You are not authorized to view this page, or the session is expired. Click Authorize to view the content. Insufficient Privileges You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. For more information, see Insufficient Privileges Errors. on the URL: /setup/secur/RemoteAccessAuthorizationPage.apexp

I found no help here or anywhere until I saw a comment from someone about the Login As and OAuth. The error was being caused by me using Login As and not actually logging in as the test user. Doh!

1
  • I have a similar situation. I logged into a customer's org using the support access feature, similar like 'Login As' feature. Commented Aug 29 at 15:07
0

In Partner profile, Please check whether the VF page(RemoteAccessAuthorizationPage.apexp) you've mentioned is added to the "Enabled Visualforce Page Access" section.

1
  • RemoteAccessAuthorizationPage does not exist in Enabled Visualforce Page Access probably because it is a build in class.
    – user
    Commented May 25, 2018 at 14:07
0

Solution for this problem was to activate a community (was in preview state) then all community users will get an email with link to create a new password.

After creating new one, user will be able to pass that error.

So Insufficient Privileges was probably caused by missing password for a user.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .