Authentication via rest command fails when username is `user@domain`

jkazan April 15, 2020

I have made a command line interface for Jira. Formerly, my username did not include an `@` and it all worked perfectly. I now have a username like `user@domain` and the authentication fails with a 401 status code.

Whenever I make a request in the browser, I can do so by putting the `` within quotes, e.g."user@domain"
However, putting the username in quotes for the authentication doesn't work. I also tried escaping with `\`, encoding the at sign as %40 and also with unicode. Nothing works.

Does anyone have any idea? All help is much appreciated!

0 answers

Suggest an answer

Log in or Sign up to answer