Hello!
Thanks for reaching out! One of our engineers is looking into this issue; we'll have an update for you soon.
Best,
Megan McFeely
DPC Community Manager
JWT.io provides comprehensive information about what JSON Web Tokens are and how to use them. For testing purposes, the site offers a debugger that allows you to enter a header, payload, and keys to generate a signed JWT.
Online tools for creating JWTs should not be considered secure and should not be used to create tokens to access production data. Instead, use one of the libraries listed on JWT.io to generate JWTs in your DPC API client.
For the DPC sandbox environment, which contains no PII or PHI, a JWT can be created with the JWT.io debugger. More details on each field can be found under Authentication JWT Header Values and Authentication JWT Claims.
RS384
.alg
and typ
will already be set, so you will need to add kid
."alg": "RS384"
(set for you after you select the algorithm)"kid": "{ID of public key}"
"typ": "JWT"
(set by default)sub
, name
, admin
, and iat
. The value of sub
will change, and name
, admin
, and iat
should be removed."iss": "{client token}"
"sub": "{client token}"
"aud": "https://sandbox.dpc.cms.gov/api/v1/Token/auth"
"exp": "{expiration time}"
"jti": "{nonce}"