-
have the following configuration in Apache below. I need to set username from decoded Base64 JWT token. I get the correct ENV for REMOTE_USER_LOCAL, but this doesn't work with mod_gssapi:
In the log I see that the module auth doesn't execute the block: [Thu May 29 17:06:16.054983 2025] [auth_gssapi:debug] [pid 25496] mod_auth_gssapi.c(702): [client 10.227.103.117:34190] Authentication user not found, skipping impersonation. I tried many variations. I assume that mod_gssapi started before mod_rewrite, but how can I change this? I tried do this with IfModule, but it doesn't work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
I am not sure what would be the purpose of what you are asking ... but there is no way to "pass a user". mod_auth_gssapi is used to validate a ticket presented by a user to a gssapi server, the "username" is implicit in those credentials, without any credentials to validate mod_auth_gssapi is kinda useless. And with credntials the username is implicit there and there is no need to pass a username. The only case where a username is allowed is for the basic auth fallback. |
Beta Was this translation helpful? Give feedback.
Thank you for help! i use mod_authz_jwt for validate token and extract UPN from jwt. mod_gssapi now working!