OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.4k stars 2.39k forks source link

Do we have two factor Authentication in Orchard Core CMS ? #6352

Closed MuhammadTalha10 closed 1 year ago

sebastienros commented 4 years ago

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, ...

MuhammadTalha10 commented 4 years ago

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

hishamco commented 4 years ago

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

MuhammadTalha10 commented 4 years ago

@sebastienros @hishamco Thanks for your response

Piedone commented 2 years ago

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

Piedone commented 1 year ago

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

hishamco commented 1 year ago

Right

Piedone commented 1 year ago

Awesome!

MikeAlhayek commented 1 year ago

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

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

Piedone commented 1 year ago

Thank you for implementing it!

hishamco commented 1 year ago

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

MikeAlhayek commented 1 year ago

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

image