Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a C# dll that provides HOTP and TOTP authentication. I'd like to adapt this for use with ADFS sign in pages. (I'll share this DLL with you if you like)

How do I integrate my authentication DLL into ADFS?

I see on this page that it's possible to create such a thing, and Microsoft PhoneFactor is already doing it.

What is missing is how do I integrate an arbitrary DLL into this process. I'm sure that I need to link to specific URLs, hook to specific interfaces, but I can't find the documentation for this.


You can also use external authentication providers. This approach can enable AD FSto integrate with additional services, such as Windows Azure Active Authentication, or you can develop your own provider.

The linked documentation takes me to authorization rules, which I'm not very familiar with, but regardless, I don't think that is the technical depth I need to integrate my solution.

So how do I integrate PhoneFactor or a 3rd party DLL into ADFS?

share|improve this question

Even better...

This lists the entire TOTP solution for AD FS.

share|improve this answer
Though the answer may be correct, we prefer to see answers, which not only linking to some external site, but also describe the solution to the question here. See also How to answer – sebix Dec 17 '14 at 21:29

I presume from the link you provided that you are referring to ADFS on Server 2012 R2?

Have a look at:

How to create a Custom Authentication Provider for Active Directory Federation Services on Windows Server 2012 R2 - Part 1.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.