Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

Salesforce Platform: JWT Certificate Visibility on JWKS Endpoint

公開日: Apr 1, 2026
説明

Automatically expose the Named Credentials JWT’s public key with External Credential in the keys endpoint

JWT (JSON Web Token):-

Salesforce JWT (JSON Web Token) OAuth 2.0 Bearer Flow enables secure, server-to-server integration without user interaction by using a digital certificate to sign a token. It replaces username/password authentication for high-security, automated, or backend-to-backend communication, requiring a Connected App, RSA SHA256 signing, and specific claims (isssubaudexp).

JWKS (JSON Web Key Set)

Salesforce utilizes JSON Web Key Sets (JWKS) for secure token-based authentication, specifically for scenarios like validating external JSON Web Tokens (JWTs), configuring OAuth 2.0 flows, and managing public keys for server-to-server integrations

解決策

Below steps are required to expose the JWKS and it is not supported with new Named credentials.


1. Create test org and Switch to the Lightning UI if you haven't done so. External Credentials are available only in Lightning.
2. Create a certificate on the Certificate and Key Management
{C384310E-15CE-46E6-BD3D-DD5ECF54F0B7}.png3. Go to the Named Credentials page ([Security]-[Named Credentials]) and create a Legacy Named Credentials.
 
Label: Legacy1
Identity Type: [Named Principal]
Authentication Protocol :  [JWT Token Exchange]
JWT Signing Certificate: <the created certificates>
{24A1779C-EA4D-467A-86DE-2AFF32860B05}.png{AA44470E-5E79-4239-892B-9DC272010B29}.png
4. Open https://<mydomain>/id/keys. You'll see the certificate used for the named credential with Legacy type. 
This is expected behaviour



{AB2419E3-C121-408C-BCB0-62A6A61B64B8}.png

ナレッジ記事番号

004980324

 
読み込み中
Salesforce Help | Article