Skip to content

How to set username to mod_gssapi in Apache server #326

Answered by Snaut1
Snaut1 asked this question in Q&A
Discussion options

You must be logged in to vote

The ideal solution would be to have an authentication module that handles your JWT and sets the user variable in the request structure.

Lacking that we'd have to add an option to allow you to source the user name from some variable I guess.

You can open a feature request, but just to set expectations, I do not think I will have to time to work on new features in the near term.

Another option is that you do S4U2SELF on your own, it is not many calls, if you are already using python you should be able to use python-gssapi to make the right calls.

Thank you for help! i use mod_authz_jwt for validate token and extract UPN from jwt. mod_gssapi now working!

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@Snaut1
Comment options

@Snaut1
Comment options

@simo5
Comment options

simo5 Jun 2, 2025
Maintainer

@Snaut1
Comment options

Answer selected by Snaut1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants