Print this page

Winter '15 - OAuth 2.0 JWT Bearer Token Support Expands to Meet the Current Standards

Knowledge Article Number 000204593
Description
When creating a JWT bearer token to request an OAuth access token, you can use subject (sub) instead of principal (prn) to specify the username. If both are specified, prn is used. For more information, see the spec at http://tools.ietf.org/html/draft-ietf-oauth-jwt-bearer and OAuth 2.0 JWT Bearer Token Flow in the Salesforce online help.
 
{"iss": "3MVG99OxTyEMCQ3gNp2PjkqeZKxnmAiG1xV4oHh9AKL_rSK.BoSVPGZHQ
  ukXnVjzRgSuQqGn75NL7yfkQcyy7", 
  "sub": "Pierre_Delacroix@SeattleApps.com", 
  "aud": "https://login.salesforce.com", 
  "exp": "1333685628"}




promote demote