wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.34k stars 1.18k forks source link

Add support for multi-factor auth to authentication #1476

Open Martinsos opened 11 months ago

Martinsos commented 11 months ago

https://discord.com/channels/686873244791210014/1159564569547649115/1159567887497969745 -> user said they would want to have multi-factor auth in order to use wasp in production. We should look into providing it, either directly, or via OpenID providers maybe?

CiaoRaviRaj commented 11 months ago

@Martinsos, you mean to say, you have some features like authentication services through multiple websites (like Google, Github, and facebook) like Next.js auth provides.

can you explain to me where we want to integrate this and which websites you want to provide auth?

Martinsos commented 11 months ago

We support different auth providers, like Google, Github, and those offer MFA as part of their auth process, so that is not up to us. But we also have our own email/pass auth, or username/pass, and for those we don't have an option for MFA -> so that would be interesting to add.

CiaoRaviRaj commented 11 months ago

@Martinsos thank you for replying me

So we are going to added option to add MFA features in our services right?

So what type of MFA features we are try to give to user to add in their projects?

Martinsos commented 11 months ago

I am not 100% sure myself yet, but most likely we would add it to email/pass and user/pass. That said, I am not sure which methods should we add and how should we do it. Hopefully we can avoid doing this on our own by using some existing solution. Also, this is not a priority at the moment, this is more for when we will be wrapping stuff up for 1.0, so I wouldn't push this issue too much, instead let it stew a bit and see if anybody else offers some insights into it.

@CiaoRaviRaj I see you are new, are you looking for an issue to contribute to? I suggest looking at issues labeled with "good first issue"!.

CiaoRaviRaj commented 11 months ago

Okay @Martinsos , i understand this issue that why i clear my doubt regarding this issue.

Okay @Martinsos , when ever you and your team deside to procced this feature. I will love to contribute in this features.

Aarav238 commented 11 months ago

Hey I want to contribute in this but I am a beginner in open source and I really want to work on it.

Martinsos commented 11 months ago

Hey I want to contribute in this but I am a beginner in open source and I really want to work on it.

As mentioned above, I think it will be too hard for a newcomer to Wasp, why not grab some other issues instead, one labeled with "good first issue" maybe?