Invalid Scope Error connecting to external salesforce org

Matt Sones
Matt Sones 💎💎💎
edited March 2, 2017 in Questions
This is a continuation of another thread which was marked as solved.

The below problem remains unsolved:

Now I'm getting this error in the url of the auth popup:

The connected app scope:

The authentication source details:

What am I missing here?

The instructions say that the scope must match, and they do, as far as I can tell.

Why might I be getting this error?


  • Zach McElrath
    edited December 21, 2016
    This shouldn't be necessary, but it's an idea: try adding the api scope to the list of allowed scopes for your Connected App.
  • Matt Sones
    Matt Sones 💎💎💎
    edited December 7, 2016
    That actually worked!

    I added api to the scopes of the connected app and the default scopes of the authentication providers.

    That caused the "allow access" dialog to popup when I reloaded my test page:

  • Zach McElrath
    edited March 2, 2017
    Looks like there's currently a bug where Skuid is always requesting the api and refresh_token scopes regardless of your Auth Provider's configured settings -- if you request additional scopes, e.g. full, it will request those as well, but at a minimum it is always requesting api and refresh_token.

    We're going to change this so that only the scopes you actually request will be requested.

    In the meantime, there's an easy workaround --- in your Salesforce Connected App, always request at a minimum the api, full, and refresh_token scopes.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!