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

Can't set global headers, can't change header prefix #11

Open
virgil-av opened this issue Jul 18, 2017 · 0 comments
Open

Can't set global headers, can't change header prefix #11

virgil-av opened this issue Jul 18, 2017 · 0 comments

Comments

@virgil-av
Copy link

This is a very good plugin but it is very fixed to do things only one way.

I am trying my best to add a custom header to the auth api endpoint but it seems that jwtOptions does not have globalHeaders, headerName, headerPrefix so for example if I want to send to my auth endpoint I cannot set

globalHeaders: [{'Content-Type':'application/x-www-form-urlencoded'}]
headerName: 'Authorization',
headerPrefix: 'Basic',

Any suggestions ?

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

1 participant