forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 permissions => Topic started by: FrA1l3 on March 17, 2021, 09:34:44 am

Title: add the possibility of 2FA
Post by: FrA1l3 on March 17, 2021, 09:34:44 am
Hi, has anyone explored the feasibility of including a 2FA in coppermine? either through plugin or within the code itself? I would be interested in developing the idea via plugin. Just ask for a google authenticator / Authy token or similar.
If someone has started with it, it would be nice to gather ideas.
Title: Re: add the possibility of 2FA
Post by: Phill Luckhurst on March 17, 2021, 02:04:01 pm
I donít think this has been looked at in any way. I look forward to seeing what you come up with as it is a great idea.
Title: Re: add the possibility of 2FA
Post by: ron4mac on March 17, 2021, 05:55:56 pm
I think a plugin could be the most appropriate way to add 2FA to CPG.  The current problem in creating such a plugin is that the login process is/was written without any accommodation for plugins to intervene. When I have some extra time, I'll investigate it more fully.
Title: Re: add the possibility of 2FA
Post by: Phill Luckhurst on March 17, 2021, 08:10:05 pm
Hopefully we could just add a hook for it. One user added bridging just so they could use 2FA from their bridged app. Seemed very extreme to install PHPbb just for its 2FA but some will go to any extent.
Title: Re: add the possibility of 2FA
Post by: ron4mac on March 21, 2021, 02:24:30 am
I've hacked together a Beta plugin to provide CPG with 2FA. Those willing to try it out ... please provide feedback. Especially useful will be any issues it may cause with login forms in various themes.

[ see released plugin (https://forum.coppermine-gallery.net/index.php/topic,80376.0.html) ]

Title: Re: add the possibility of 2FA
Post by: FrA1l3 on March 22, 2021, 09:52:57 am
Awesome, thank you in advance. I will comment here.

best regards