JWT custom headers #567
-
I'm trying to use the this gem to create a JWT token for the Doordash Drive API. The API needs a specific header 'dd-ver' for authorization. I add it to header_fields hash in the JWT.encode method, but it's giving me invalid JWT tokens. Is it possible to add any custom values to the header_fields hash, or can we only use 'typ' and 'cty'? |
Beta Was this translation helpful? Give feedback.
Answered by
lauriejefferson
Jul 14, 2023
Replies: 1 comment
-
Problem solved. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lauriejefferson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem solved.