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

Extend middleware to http4s client #42

Open
PashoQ opened this issue Mar 24, 2020 · 3 comments
Open

Extend middleware to http4s client #42

PashoQ opened this issue Mar 24, 2020 · 3 comments

Comments

@PashoQ
Copy link

PashoQ commented Mar 24, 2020

Is it possible to extended this middleware to htt4s client?
Like requesting token from GSSManager and add "Authorization: Negotiate $token" header to client request.

@novakov-alexey-zz
Copy link
Owner

novakov-alexey-zz commented Mar 24, 2020

Do you mean smth like this? https://medium.com/se-notes-by-alexey-novakov/spnego-token-generation-90c4267f784e
It is an example how to get a token using Java and then just add a token to the Authorization header.

@PashoQ
Copy link
Author

PashoQ commented Mar 25, 2020

Yes. It would be nice that it would be available from library itself. I use server middleware from your library as well.

@novakov-alexey-zz
Copy link
Owner

@PashoQ I think this needs to be done in the http4s blaze client to make such token added to the request

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