Replies: 1 comment
-
|
what is in the server error log wrt. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Auth0 as my OIDC provider. Authentication works, authorization works (via mod_ldap)
In the vhost config
In httpd.conf
In auth_openidc.conf
OIDCProviderMetadataURL https://login.mydomain.ca/.well-known/openid-configuration OIDCClientID xxxx OIDCClientSecret 'xxxx' OIDCScope "openid name email" OIDCRedirectURI /secure/redirect_uri OIDCCryptoPassphrase xxxxx OIDCRemoteUserClaim "https://mydomain.ca/ldap_user" OIDCSessionInactivityTimeout 7200We recently migrated off mod_auth_cas and this went unnoticed. Apache logs the username Ok when I switch to AuthType cas or AuthType ldap.
Typically we use "require ldap-group ...." for authorization to pages and it's been working fine.
Auth0's suggestion for custom claims (in this case "ldap_user") is to prefix it with a URL style namespace which is being used in OIDCRemoteUserClaim. Is this causing an issue with Apache logging? If I remove this, authentication still works but my authorization breaks.
OS is Rocky Linux 8.10
mod_auth_oidc RPM version
mod_auth_openidc-2.4.9.4-8.module+el8.10.0+1976+99abe5eb.x86_64
httpd -V output
Beta Was this translation helpful? Give feedback.
All reactions