If I create a salesforce managed authentication provider following the steps here: https://help.salesforce.com/articleView?id=sso_provider_global_auth.htm&type=5.

I don't want to create a connected app for this.

If I create a named credential using this authentication provider and set the scope to "full refresh_token" or just "full" or "refresh_token" and start my authentication flow a screen pops up with a "bad_scopes" message,

Does anyone else get this? and ofcourse more impartantly, does anyone know a fix for this?

steps to reproduce the error: Create an Auth. Provider (Salesforce) without specifying:

  • Consumer Key
  • Consumer Secret
  • Authorize Endpoint URL
  • Token Endpoint URL
  • User Info Endpoint URL
  • Default Scopes

see https://help.salesforce.com/articleView?id=sso_provider_global_auth.htm&type=5

authenticate on save en see the error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.