You need to sign in to do that
Don't have an account?
Shrawan
Error with auth:web:login This org appears to have a problem with its OAuth configuration
Running this command: sfdx force:auth:web:login -r <instance-url>
Getting the below error:
ERROR running force:auth:web:login: This org appears to have a problem with its OAuth configuration. Reason: invalid_grant - invalid authorization code
username: <Not Specified>,
clientId: PlatformCLI,
loginUrl: <Not Specified>,
privateKey: <Not Specified>
Try this:
Verify the OAuth configuration for this org. For JWT:
Ensure the private key is correct and the cert associated with the connected app has not expired.
Ensure the following OAuth scopes are configured [api, refresh_token, offline_access].
Ensure the username is assigned to a profile or perm set associated with the connected app.
Ensure the connected app is configured to pre-authorize admins.
Getting the below error:
ERROR running force:auth:web:login: This org appears to have a problem with its OAuth configuration. Reason: invalid_grant - invalid authorization code
username: <Not Specified>,
clientId: PlatformCLI,
loginUrl: <Not Specified>,
privateKey: <Not Specified>
Try this:
Verify the OAuth configuration for this org. For JWT:
Ensure the private key is correct and the cert associated with the connected app has not expired.
Ensure the following OAuth scopes are configured [api, refresh_token, offline_access].
Ensure the username is assigned to a profile or perm set associated with the connected app.
Ensure the connected app is configured to pre-authorize admins.
Shrawan
Getting this error on the browser: http://localhost:1717/OauthRedirect?error=OAUTH_APP_BLOCKED&error_description=this+app+is+blocked+by+admin