Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to override default auth prefix Bearer with env var #5

Closed
hoatle opened this issue Oct 6, 2015 · 2 comments
Closed

allow to override default auth prefix Bearer with env var #5

hoatle opened this issue Oct 6, 2015 · 2 comments
Assignees
Milestone

Comments

@hoatle
Copy link
Member

hoatle commented Oct 6, 2015

as I'm working on a client project that support JWT with auth prefix of JWT not Bearer, we should allow override this (by environment var JWT_AUTH_PREFIX or an optional option --auth-prefix=XXX)

optional option should override environment var

If not setting, default auth prefix Bearer should be used.

@hoatle hoatle self-assigned this Oct 6, 2015
@hoatle hoatle added this to the 0.2.0 milestone Oct 6, 2015
@hoatle
Copy link
Member Author

hoatle commented Oct 7, 2015

need to update README for this

@hoatle hoatle assigned phuonglm and unassigned hoatle Oct 12, 2015
phuonglm added a commit to phuonglm/httpie-jwt-auth that referenced this issue Nov 16, 2015
@hoatle hoatle assigned hoatle and unassigned phuonglm Nov 17, 2015
@hoatle
Copy link
Member Author

hoatle commented Nov 17, 2015

hoatle added a commit to hoatle/httpie-jwt-auth that referenced this issue Nov 17, 2015
hoatle added a commit to hoatle/httpie-jwt-auth that referenced this issue Nov 17, 2015
hoatle added a commit to hoatle/httpie-jwt-auth that referenced this issue Nov 17, 2015
hoatle added a commit to hoatle/httpie-jwt-auth that referenced this issue Nov 17, 2015
hoatle added a commit to hoatle/httpie-jwt-auth that referenced this issue Nov 18, 2015
@hoatle hoatle changed the title allow to override default auth prefix Bearer allow to override default auth prefix Bearer with env var Jan 29, 2016
@hoatle hoatle closed this as completed Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants