TypeScript and JWT Decode #2233
Unanswered
mertturkmenoglu
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am trying to use JWT and I got a problem.
When I ignore the TS error and run the code, it works and decodes.
I tried to change the code:
This time TS error is gone but the code doesn't work.
What am I missing?
Thank you so much.
Edit: We are doing custom encode / decode operations because we need to add some Hasura specific values to data.
Beta Was this translation helpful? Give feedback.
All reactions