CRUD icon indicating copy to clipboard operation
CRUD copied to clipboard

[Feature Request] Two factor authentication

Open susanu opened this issue 1 year ago • 19 comments

Feature Request

What's the feature you think Backpack should have?

Backpack should support two factor authentication out of the box, it's important for admin panel to be secured, 2fa providing that. It should be disabled by default. If enabled, the users can set up 2fa for additional security. Maybe it would be a good idea to restrict DeleteOperation to users that didn't set up 2fa for their account.

Have you already implemented a prototype solution, for your own project?

Yes, i have implemented this for backpack v5.

Do you see this as a core feature or an add-on?

Core.

susanu avatar Oct 18 '23 10:10 susanu

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication channels:

  • Bug Reports, Feature Requests - Github Issues (here);
  • Quick help (How do I do X) - Gitter Chatroom;
  • Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the backpack-for-laravel tag;
  • Showing off something you've made, asking for opinion on Backpack/Laravel matters - Reddit;

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

-- Justin Case The Backpack Robot

welcome[bot] avatar Oct 18 '23 10:10 welcome[bot]

If you guys decide to implement this, i can provide my code for reference and build from there.

susanu avatar Oct 19 '23 16:10 susanu

Hey @susanu thanks for another suggestion. I think more people already asked for this. I like this. and agree with this. We maybe (just maybe) be able to think about launching this feature somewhere in the next coulple months (if time allows for that).

I've needed it too in the past, and I have some kind of implementation laying around too. I know there is also some package by one community user that aims to provide it too.

Does your implementation use Laravel Fortify?

Cheers

pxpm avatar Oct 19 '23 16:10 pxpm

Does your implementation use Laravel Fortify?

Yes, it does.

susanu avatar Oct 19 '23 16:10 susanu

I need to implement 2-factor authentication with Backpack for Laravel. @susanu @pxpm @tabacitu , is the code for this patch available somewhere so I can use it. I have tried to implement it, but am having a few issues, and hence, it will be good to get an insight into implementing this. If the release date for this is within the next 2 weeks, I can probably wait.

sharat-rhinofish avatar Jan 08 '24 09:01 sharat-rhinofish

@susanu Is it possible to share your implementation? Maybe I can help to improve it.

JoepdeJong avatar Jan 14 '24 13:01 JoepdeJong

@tabacitu @pxpm Any update on this feature?

sharathegde avatar Mar 09 '24 11:03 sharathegde

I join the request. It would be excellent to have two-factor authentication

FilippoCalabrese avatar Apr 02 '24 10:04 FilippoCalabrese

+1 the the two factor authentication

Astriel avatar Apr 04 '24 10:04 Astriel

+1 the the two factor authentication

soluzione-software avatar Apr 29 '24 14:04 soluzione-software

+1 the the two factor authentication

infiniteroles avatar May 09 '24 16:05 infiniteroles

@tabacitu @pxpm Is there a timeline for this feature?

jjozwiak avatar Jul 24 '24 15:07 jjozwiak

Lack of 2FA in 2024 should not be an option for a package like this one. Any update on this feature?

FilippoCalabrese avatar Jul 25 '24 08:07 FilippoCalabrese

Hi @tabacitu @pxpm,

Let me know if you need any help with this, i can provide the code from backpack v5.

Cheers!

susanu avatar Jul 25 '24 08:07 susanu