Having trouble Decrypting a JWE Token
Options
Anthony Mastrangelo
Member ✭
in ? Security
Hello,
I cant figure what I'm doing wrong to decrypt a jwe token…
I was able to encrypt no problem, here is my encryption…
and the returned variable ….
but now here is the problem with decrypt, here is my set up…
BUT EVERYTIME IS RETURNS AN EMPTY ARRAY
Am I missing something?? any help is greatly appreciated!
Tagged:
Best Answers
-
Hey @Anthony Mastrangelo - you actually want the value you are encrypting to be in the claims section.
Headers are typically for information on the type of token and the algorithm being used to sign the token.
-
Ahh got it, thank you!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback