[Feature Request] Support for Bearer Token/OpenId Authentication in TortoiseSVN

37 views
Skip to first unread message

Ariel Sandberg-Maitland

unread,
Feb 11, 2025, 3:33:47 PMFeb 11
to TortoiseSVN

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:

  1. Configure Apache2 with mod_auth_openidc for OpenID Connect authentication.
  2. Attempt to access the SVN repository using a modern web browser (works as expected).
  3. 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

    However, this did not resolve the issue as OpenID Connect uses bearer token authentication.
Request: Could you confirm that bearer token/OpenID authentication is not supported yet? I appreciate the hard work on TortoiseSVN development community. Please consider adding support for bearer token authentication This would greatly help users with modern authentication needs. 

Stefan

unread,
Feb 17, 2025, 11:39:27 AMFeb 17
to TortoiseSVN
this would have to be implementec in the svn library, not in TSVN.
So you have to ask for this on the subversion mailing list:
Reply all
Reply to author
Forward
0 new messages