To validate a JSON Web Token (JWT), you need the public certificate or key that corresponds to the private key used to sign the token. In SAP Customer Data Cloud, the public certificate can be retrieved programmatically by calling theaccounts.getJWTPublicCertificateendpoint. This endpoint provides the public certificate required for JWT validation.
Option A: While SAP Customer Data Cloud provides tools and configurations in its console, downloading certificates directly from the console is not the recommended approach for JWT validation.
Option C: Requesting the certificate from SAP support is unnecessary and inefficient, as the certificate is available via API.
Option D: Theaccounts.getJWTPublicKeyendpoint does not exist in SAP Customer Data Cloud. The correct endpoint isaccounts.getJWTPublicCertificate.
SAP Customer Data Cloud References:
SAP Customer Data Cloud - JWT Validation.
API Reference - accounts.getJWTPublicCertificate.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit