Add 2fa provider to providers list on source code

Hello, I’m trying to add the DUO 2fa api to next cloud manually in php. I found the providers list in Manager.php and that’s about as far as I have gotten. More specifically I am trying to figure out what I need to add where in the auth flow to add the duo app prompt after login

What type of object does the providers list expect? Is there a walk through example of adding a provider or can someone walk me through it? I have found no examples online.

@ChristophWurst @LukasReschke could you help with this issue?

Did you find a walk through example or other useful examples?
If so, can you please send me the links?
Thank you in advance.


You might want to checkout this blog post by @rullzer :wink: