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

Don't ask user credentials to access / but do use Kerberos authentication to upstream #145

Open
jbostoen opened this issue Feb 7, 2024 · 1 comment

Comments

@jbostoen
Copy link

jbostoen commented Feb 7, 2024

I'm researching the possibility of making Nginx reverse proxy a website for which Kerberos authentication is needed.

Assume my users are pre-authenticated and I can share the credential cache: is it possible in the current version to NOT require the user to enter credentials when accessing the website (so no pop-up to the user or no SPNEGO or whatsoever); but to still pass Kerberos credentials (from the cache file) to the upstream server?

Although it's an edge case, it would be an awesome addition.

@hawicz
Copy link

hawicz commented Feb 7, 2024

I don't this this extension will help you any, but since you seem to be talking about giving nginx direct access to per-user cred cache files you can probably write a bit of lua code to run https://github.com/elric1/gss-token with an appropriate KRB5CCNAME set, and stuff that into the WWW-Authorization:Negotiate... header that you pass to the end website.

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