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
- Create a named credential using this auth. provider
- set the URL to own org baseurl (System.debug(URL.getOrgDomainUrl().toExternalForm())) or ("https://flow-customization-6310-dev-ed.cs52.my.salesforce.com" in this case)
- set the scope to: full refresh_token
authenticate on save en see the error