Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-factor authentication #14

Closed
2 tasks
malobre opened this issue Aug 17, 2020 · 21 comments
Closed
2 tasks

Multi-factor authentication #14

malobre opened this issue Aug 17, 2020 · 21 comments
Assignees
Labels
go team team is looking into it

Comments

@malobre
Copy link

malobre commented Aug 17, 2020

I'm submitting a ...

  • feature request

Summary
MFA would be a very nice addition to the auth module.

Here are two standards that I think should be supported:

  • HOTP and TOTP (e.g Google Authenticator, FreeOTP)
  • FIDO U2F (e.g YubiKey, Google Titan Key)
@kiwicopple
Copy link
Member

Tracking this with the Netlify team - we will see if we can add this and merge it into their server.

We're in the process of catching up our UI to GoTrue's full API potential, so this will likely be a task for next month's release.

@kiwicopple
Copy link
Member

I'm moving this to our GoTrue fork - let's see if we can do this during Hacktoberfest 🚢

@icecoconut
Copy link

any ETA? :D

@minecraftchest1
Copy link

Any plans to support WebAuthm?

@J0 J0 self-assigned this Jan 19, 2022
@J0 J0 added the team team is looking into it label Jan 19, 2022
@Bryanoxx
Copy link

Hello ! I'm using Supabase since some months and I love it !

I'm dealing with crypto and exchanges API on my website, so naturally some of my users asked for a 2FA and by searching how to do it I found this issue, so I'm here to confirmed the need of a 2FA for supabase sign in ✅

I thought about doing my own TOTP system but it cannot be secure enough since Supabase will always give the accessToken with a proper email and a password given to it.
If there is a leak of password for one of my user, a guy can always use supabase.signIn directly into the console of my website and have the acessToken, so a custom TOTP asking process will always be not secure enough, it needs to be implemented by supabase directly to be 100% secure.

That's all, thank you for the great work 👋

@marcoshw
Copy link

I love supabase too, the only reason i`m not using it for my current project is because the lack of MFA. Any ETA?

@J0
Copy link
Contributor

J0 commented Jun 1, 2022

We're working on it! Out of curiosity, which aspect of MFA are you hoping to integrate(e.g. TOTP authenticator, SMS, email)?

Can't say much but there'll be updates on the feature before our next launch so keep your eyes peeled for then... 👀

@Deliana90
Copy link

I hope for TOTP authenticator, because that more independent so that more secure and doesn't need to waiting message to be received.

@RichiCoder1
Copy link

Just came here from the blog post and wanted to voice my support specifically for TOTP and especially WebAuthn.

A long term stretch of being able to fire off a push notification would be awesome too, but I don't think it's as easy or reasonable to implement.

Okta has a pretty nice breakdown of the various MFA security options available today: https://help.okta.com/en-us/Content/Topics/Security/mfa/about-mfa.htm

@J0
Copy link
Contributor

J0 commented Jul 2, 2022

@RichiCoder1 We've noted your feedback -- the table in the link you've provided gives quite a nice comparison so thanks for that!

@steffenstolze
Copy link

When your users use a Social Provider (e.g. Login with Google) to access your services via Supabase, shouldn't MFA work (on the Social Provider side), if the Social Provider supports it? E.g. when we talk about Google as Social Provider, you'd enable MFA in the Cloud Console (https://cloud.google.com/identity-platform/docs/web/mfa)

@J0
Copy link
Contributor

J0 commented Jul 4, 2022

Hey @steffenstolze yup you are right, if you have MFA enabled on the Social Provider and you are logging in with your social provider then you will have to use MFA.

However, this wouldn't cover all cases(e.g. email/password) which may be needed for compliance purposes or general security reasons

@steffenstolze
Copy link

@J0 Absolutely! A complete solution that covers all use cases would be the best, of course 👌🏻

@edardev
Copy link

edardev commented Jul 27, 2022

Is the 2FA feature ready yet? I am building a system that needs 2FA and was wondering if the GoTrue API has this feature or should I use something else like ORY/Kratos?

@kangmingtay
Copy link
Member

Hey everyone, @J0 is working on this feature in gotrue and you guys can check out the gotrue/mfa_v1 branch for the implementation details. We have also opened up an early-sign up list if you are using Supabase and looking to try out MFA in a project.

@kangmingtay kangmingtay pinned this issue Sep 7, 2022
@J0 J0 removed the p1 Priority 1 label Sep 7, 2022
@J0 J0 removed the hacktoberfest label Sep 19, 2022
@J0
Copy link
Contributor

J0 commented Jan 20, 2023

Hey team,

Going to close this issue since TOTP MFA has landed in prod. If anyone has issues please feel free to reach out.

Thanks!

@J0 J0 closed this as completed Jan 20, 2023
@J0
Copy link
Contributor

J0 commented Jan 20, 2023

For Webauthn MFA and Passkey support please follow #92

@J0 J0 unpinned this issue Jan 20, 2023
@tomekit
Copy link

tomekit commented May 6, 2023

Since initial feature request mentioned U2F, just a question, is it going to be implemented?

@kangmingtay
Copy link
Member

hi @tomekit, it's on the roadmap but we don't have a timeline for this yet as we are prioritising other features such as webhooks / anonymous logins over U2F right now

@ProductOfAmerica
Copy link

Bump? Would be a nice feature to just have FIDO on Supabase itself... log into Supabase via FIDO

@J0
Copy link
Contributor

J0 commented Apr 17, 2024

Hey @ProductOfAmerica,

Thanks for the feedback - could we trouble you to head over to #92 to add feedback and/or thoughts instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go team team is looking into it
Projects
None yet
Development

No branches or pull requests