how to pass JWT Token
I am using the JWT token for authorisation in the header. How to pass it in Arjun. I tried the "--header" option, but it did not work.
Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJmZWxpeF8wOV9AZ21haWwuY29tIiwiaWF0IjoxNjUzODg0ODgxLCJleHAiOjE2NTM5NzEyODF9.Ep0Abs-riT5DgEZns9QNdgVjAWFC8ZRlbkq1AYPSf_l-0Y7ab7T4yYjRzv2bBwyc92Ekg1Nsq3i8M7M1HGseMA
Can you share the exact command so I can know that you are supplying it correctly?
arjun -u http://localhost:8888/api/customer/details --headers 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJmZWxpeF8wOV9AZ21haWwuY29tIiwiaWF0IjoxNjUzODg0ODgxLCJleHAiOjE2NTM5NzEyODF9.Ep0Abs-riT5DgEZns9QNdgVjAWFC8ZRlbkq1AYPSf_l-0Y7ab7T4yYjRzv2bBwyc92Ekg1Nsq3i8M7M1HGseMA'
error: unrecognized arguments: Bearer eyJhbGciOiJIUzU....
Looks like there's some mess up in how your shell interprets command line arguments. You can try using double quotes instead of single quotes.
I am unable to reproduce this and there are no other reports for this so I will close it.