V
V
Vladimir Kuts2021-03-07 00:30:44
Nginx
Vladimir Kuts, 2021-03-07 00:30:44

Get header input parameter?

I'm using nginx with spnego-http-auth-nginx-module
compiled. This module gets the Authorization Negotiate<token> header, uses the token to get the user to substitute it into remote_user, and replaces Authorization with Authorization Basic.
Is it possible to get the contents of the original Authorization header with the original Negotiate token in the output in some custom header using standard means?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2021-03-07
@fox_12

emnip, bare nginx can't do that.
but you can either deal with the API of the subject and write your own module, or take something like openresty and quickly throw in a script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question