-
Hi there, I'm currently using mod_auth_openidc v2.4.4. I was looking to upgrade to v2.4.6 because we're running into the semaphore cleanup on graceful restarts bug that's fixed in the latest release. However, upon upgrading to v2.4.6, I now get the following error when trying to login against MS Azure: The Apache configs didn't change at all during the upgrade, I just replaced the mod_auth_opendic.so module file. I downgraded to v2.4.4 and the remote user error went away. I then tried upgrading to v2.4.5 and received the same error regarding setting the remote user, so it seems to be a change between 2.4.4 and 2.4.5. In the Apache logs, I see:
Relevant Apache config is:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
there's a security improvement in 2.4.5 indeed, affecting the validation of the results returned from the userinfo endpoint, see: 4d94328 ; however, for Azure AD I don't think you should be setting individual URLs for the endpoints as you did but rather follow https://github.com/zmartzone/mod_auth_openidc/wiki/Azure-Active-Directory-Authentication and set |
Beta Was this translation helpful? Give feedback.
-
you cannot use |
Beta Was this translation helpful? Give feedback.
you cannot use
mailNickname
asOIDCRemoteUserClaim
but you'll need to pick a claim that is actually returned from the user info endpoint; calling another endpoint that returns no "sub" claim is just not part of OpenID Connect, not supported by the module and insecure because of known attacks