OrchardCore icon indicating copy to clipboard operation
OrchardCore copied to clipboard

Do we have two factor Authentication in Orchard Core CMS ?

Open MuhammadTalha10 opened this issue 4 years ago • 5 comments

MuhammadTalha10 avatar Jun 05 '20 15:06 MuhammadTalha10

There isn't any default option right now.

I would suggest to follow the asp.net mvc implementation, and maybe this could be added as a PR? Our User controller is following the default asp.net mvc templates, so it should be straightforward to add. And this could be done as a feature so it's not enabled by default. Each method of second auth could then be another feature. Like email, sms, ...

sebastienros avatar Jun 05 '20 16:06 sebastienros

It may Included In future ? Or Orchard Core is not targeting to have this ?

MuhammadTalha10 avatar Jun 05 '20 16:06 MuhammadTalha10

@MuhammadTalha10 I will try to add it in OCC in case OC doesn't include it yet

hishamco avatar Jun 06 '20 06:06 hishamco

@sebastienros @hishamco Thanks for your response

MuhammadTalha10 avatar Jun 06 '20 09:06 MuhammadTalha10

There's a module for this by @ns8482e: https://github.com/surevelox/OrchardCore.Modules/blob/master/TwoFactorAuth/README.md

Piedone avatar Aug 23 '22 13:08 Piedone

@MikeAlhayek fixed in https://github.com/OrchardCMS/OrchardCore/pull/13704, right?

Piedone avatar May 23 '23 15:05 Piedone

Right

hishamco avatar May 23 '23 15:05 hishamco

Awesome!

Piedone avatar May 23 '23 15:05 Piedone

Yes this is now part of OC 1.7 preview. You can enable it easily via settings

https://github.com/OrchardCMS/OrchardCore/pull/13704

MikeAlhayek avatar May 23 '23 15:05 MikeAlhayek

Thank you for implementing it!

Piedone avatar May 23 '23 17:05 Piedone

I remembered @ns8482e implemented something similar previously, but it was closed-source, but @MikeAlhayek did it on open :)

I might need to try what you did Mike, I use something similar to implement OTP with a custom SMS service

hishamco avatar May 23 '23 17:05 hishamco

Yes try it out :). I am already using it is production system. Yes with preview-1.7

image

MikeAlhayek avatar May 23 '23 17:05 MikeAlhayek