teracyhq / httpie-jwt-auth

JWTAuth (JSON Web Tokens) auth plugin for HTTPie
BSD 3-Clause "New" or "Revised" License
172 stars 12 forks source link

should not require to have colon character #3

Closed hoatle closed 7 years ago

hoatle commented 9 years ago

expected:

$ http --auth-type=jwt --auth=jwt_token example.org

actual:

$ http --auth-type=jwt --auth=jwt_token: example.org
jkbrzt commented 9 years ago

HTTPie API currently requires a password for auth plugins. It should be changed on our part to allow password or username less authentication schemes. Please feel free to open an issue.

https://github.com/jkbrzt/httpie/issues/new

hoatle commented 9 years ago

thank you @jkbrzt

issue created: https://github.com/jkbrzt/httpie/issues/378

hoatle commented 8 years ago

this is nicer:

$ http --auth-type=jwt --token=jwt_token example.org
hoatle commented 7 years ago

it's nice to be backward compatible with prev httpie-jwt-auth versions (with deprecated warnings)

hoatle commented 7 years ago

this requires httpie v0.9.8 and above, so we're going to support these versions https://github.com/jakubroztocil/httpie/blob/master/CHANGELOG.rst#098-2016-12-08