New answers tagged

0 votes

External Credential for Amazon - SignatureDoesNotMatch

I had the same error last year and it happens when you do not properly encode your object or bucket in your request: https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html For ...
Semmel's user avatar
  • 2,413
0 votes

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

Make sure that Callback URL from Auth Provider is copied into connected app Callback URL. Make sure that connected app consumer key & Consumer Secret are copied into your Auth Provider consumer ...
Atish Swami's user avatar
1 vote

Guest User access to External Credentials

You can grant the guest user access for the external credentials, as it's stated in this doc. However, what's not stated there is that for guest users you can only have named principal access (which ...
Walker's user avatar
  • 9
2 votes

Using Session_Id in Manage Package?

As an ISV you cannot use Session ID for modifying or creating metadata (you can use it for some querying of metadata though). If you do, you will likely fail the security review. I recommend you stick ...
Phil W's user avatar
  • 36k
2 votes
Accepted

How to create Auth Provider using APEX

You can't perform some DML operations in Apex. Instead, use the REST or Metadata API. Here's some code that works in execute anonymous: class AuthProvider { String ProviderType = 'OpenIdConnect'; ...
sfdcfox's user avatar
  • 489k
1 vote

OAuth2 bearer token is not being saved in Named Credential and cannot use {!$Credential.OAuthToken}

I was struggling with legacy named credentials and FedEx but I got this going with a non-legacy named credential. Here is the named credential: And here is the external credential: Then you have to ...
veritascs's user avatar
  • 201

Top 50 recent answers are included