New answers tagged namedcredentials
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 ...
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 ...
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 ...
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 ...
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';
...
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 ...
Top 50 recent answers are included
Related Tags
namedcredentials × 316apex × 105
oauth2 × 83
callout × 55
auth-provider × 40
authentication × 28
rest-api × 27
integration × 25
externalcredentials × 23
managed-package × 20
external-services × 18
security × 16
jwt × 14
connected-apps × 13
api × 12
metadata-api × 12
httprequest × 12
oauth × 12
visual-workflow × 10
aws × 10
refresh-token × 9
accesstoken × 9
customsetting × 8
amazon-s3 × 8
apexrest × 7