Description: I have migrated an SVN server from LDAP Authentication to OpenID Connect using the mod_auth_openidc module in Apache2. The configuration works well with modern web browsers, allowing users to authenticate via Azure EntraId. However, when using the TortoiseSVN client, I encounter an authentication error.
Steps to Reproduce:
- Configure Apache2 with mod_auth_openidc for OpenID Connect authentication.
- Attempt to access the SVN repository using a modern web browser (works as expected).
- Attempt to access the SVN repository using TortoiseSVN client (fails with authentication error).
Expected Result: TortoiseSVN should support bearer token authentication, allowing users to authenticate via OpenID Connect.
Actual Result: TortoiseSVN fails to authenticate, displaying an error: "Error running context: An error occurred during authentication."
Environment:
- Device: PC
- Operating System: Windows 10
- TortoiseSVN Version: [Specify version]
Additional Information:
<Location /svn>
DAV svn
SVNParentPath /svn
SVNPathAuthz off
AuthName "Subversion Server"
AuthType openid-connect
Require valid-user
AllowOverride All
Order allow,deny
Allow from all
AuthzSVNAccessFile "/etc/svnaccess/svnaccess.list"
</Location>
- Attempted to modify %appdata%/Subversion/servers file to include:
[groups]
mygroup1 = *.domain.tld
[mygroup1]
http-auth-types=basic,digest,negotiate