Supporting this from a CLI is next to impossible. I would look at how
it is done with Git and see if it is possible to make the SVN CLI
directly use the Git Credential Manager:
https://github.com/git-ecosystem/git-credential-manager

You would then need to work backwards from there to an Apache solution
that goes with this. I think this mainly needs setting the
WWW-Authenticate header and then accepting a token back for
authentication. The Credential Manager will handle the process of
authenticating via MFA and getting back the token.


On Tue, Apr 22, 2025 at 11:49 AM Peter Balogh <pe...@svnplus.com> wrote:
>
> Hi,
>
> Andreas can you please share more about this?
> I've been looking for a solution for this for a while, but I only found
> hacks like when entering your password, also add your OTP at the end
> every time you do an svn operation
> Is a modern OTP or Oauth authentication possible with httpd and the svn
> clients, that's not inconvenient or weird?
>
> Best regards,
> Peter
>
> On 2025. 04. 22. 17:29, Andreas Stieger wrote:
> > Hello,
> >
> > On 2025-04-22 16:37, Prasu S wrote:
> >> Our team is using SVN as a version control tool for source code. We
> >> are looking into implementing MFA. Does SVN have built-in MFA
> >> capabilities? If so, can you please point me to the documentation? I
> >> appreciate any help you can provide.
> >
> >
> > Apache Subversion (mod_dav_svn) supports all authentication options
> > supported by or built for Apache httpd. That includes multi-factor,
> > various mobile app authenticators, enterprise SSO and SSL client
> > certfs. Start reading there. The point is that it is not built into
> > svn but httpd.
> >
> > Andreas
> >
> >

Reply via email to