Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Adds blog post

Paul Copplestoneda70437e639b
diff --git a/www/_blog/2021-07-22-supabase-launch-week-sql.mdx b/www/_blog/2021-07-22-supabase-launch-week-sql.mdx
index 28a6fd51baf..149e213fe8b 100644
--- a/www/_blog/2021-07-22-supabase-launch-week-sql.mdx
+++ b/www/_blog/2021-07-22-supabase-launch-week-sql.mdx
@@ -51,7 +51,7 @@ We shipped [Version 1 of Supabase Storage](https://supabase.io/blog/2021/03/30/s
### Where?
-Blog post coming soon. Follow our [Twitter](https://twitter.com/supabase) to get notified immediately.
+Read the [blog post](/blog/2021/07/27/storage-beta).
## Wednesday 28 July: Auth v2
@@ -67,7 +67,7 @@ What's cooler than Arnie in the 90's? Passwordless logins. We've [already](https
### Where?
-Blog post coming soon. Follow our [Twitter](https://twitter.com/supabase) to get notified immediately.
+Read the [blog post](/blog/2021/07/28/supabase-auth-passwordless-sms-login).
## Thursday 29 July: Dashboard v2
diff --git a/www/_blog/2021-07-28-supabase-auth-passwordless-sms-login.mdx b/www/_blog/2021-07-28-supabase-auth-passwordless-sms-login.mdx
new file mode 100644
index 00000000000..53bc68d9c64
--- /dev/null
+++ b/www/_blog/2021-07-28-supabase-auth-passwordless-sms-login.mdx
@@ -0,0 +1,107 @@
+---
+title: 'Supabase Auth v2: Phone Auth now available'
+description: Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.
+author: kangmingtay
+author_url: https://github.com/kangmingtay
+author_image_url: https://github.com/kangmingtay.png
+authorURL: https://github.com/kangmingtay
+image: auth-v2/supabase-auth-v2-og.jpg
+thumb: auth-v2/supabase-auth-v2-cover.jpg
+tags:
+ - launch-week
+ - auth
+date: '2021-07-28'
+toc_depth: 3
+---
+
+
+Since launching Supabase Auth [last summer](https://news.ycombinator.com/item?id=24072051) it's proven to be a key part of the Supabase Stack.
+We receive a constant stream of feature requests and community PRs resulting in an long
+list of external providers including GitHub, Discord, Azure, Apple and more.
+
+Supabase Auth is similar to Auth0 and Firebase Auth with one major difference - the user data lives in your own database,
+reducing lock-in, and making the auth system more extensible. You can write native PostgreSQL Row Level Security policies to
+determine which data your users should (or should not) have access to. It can even be used in conjunction with other Supabase features,
+such as [Storage](https://supabase.io/storage), to control access for specific files and buckets.
+
+Today we're announcing some major new features for our [fork](https://github.com/supabase/gotrue) of Netlify's [GoTrue](https://github.com/netlify/gotrue) Auth server.
+
+## Phone Auth is here!
+
+Your users can now log in using their mobile with SMS-based OTPs (one-time password).
+
+### Passwordless SMS login
+
+Users can log in using a passwordless SMS based OTP with `supabase-js`, or directly with the Auth API.
+
+![Passwordless SMS login](/new/images/blog/auth-v2/passwordless-login.png)
+
+After logging in, the user will receive a six-digit One Time Password. The OTP can be easily verified.
+
+![Use SMS and password to login](/new/images/blog/auth-v2/verify-otp.png)
+
+### SMS login with passwords
+
+Phone Auth can be used in conjunction with a password. Using this flow, your users can subsequently login
+with either an OTP or an phone + password combo.
+
+![SMS login with passwords](/new/images/blog/auth-v2/phone-and-password-login.png)
+
+
+### Choose an SMS Provider
+
+Supabase Auth supports [Twilio](https://www.twilio.com/) as an SMS provider, with more options coming soon.
+Simply plug your Twilio credentials into your Auth Settings in the Supabase Dashboard to get started.
+
+Check out the [documentation](https://supabase.io/docs/guides/auth/auth-twilio) to get started with Mobile OTPs,
+or watch the [Youtube guide](https://youtu.be/kATSK0exuaI).
+
+<iframe
+ className="w-full video-with-border"
+ width="640"
+ height="385"
+ src="https://www.youtube-nocookie.com/embed/kATSK0exuaI"
+ frameBorder="1"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+ allowFullScreen
+></iframe>
+
+
+### Multi-Factor Auth coming soon
+
+Phone Auth is available today on all new and existing Supabase projects. We've also laid the groundwork for mobile Multi-Factor
+Auth and will be offering that as an option soon.
+
+## Even more OAuth providers
+
+The community have contributed tons of OAuth providers, and today we're announcing two more.
+
+Shoutout to [@ph1p](https://github.com/ph1p) who contributed [Twitch](https://supabase.io/docs/guides/auth/auth-twitch) as our latest OAuth provider!
+The Supabase team added [Discord](https://supabase.io/docs/guides/auth/auth-discord) last month, bringing the total OAuth Providers to ten.
+
+![All Supabase OAuth providers](/new/images/blog/auth-v2/supabase-oauth-providers.png)
+
+You can request more providers on our [Auth repo](https://github.com/supabase/gotrue) and Pull Requests are, of course, always welcome.
+
+## Generate Confirmation Links
+
+To make life easy for developers, the Supabase hosted platform manages all Auth-related emails, including confirmation,
+recovery, invite, and passwordless "magic-link" emails. The templates are customizable and we even offer the ability to bring your own SMTP provider.
+
+Some of our power users require a little more flexibility however. We've had a lot of requests to dynamically generate email content,
+especially for sending internationalized emails. To handle situations like these, today we're adding the ability to
+generate confirmation, invite, recovery, and magic links via an API endpoint.
+
+We've exposed this functionality in `supabase-js`, and it can be invoked with the use of your `service_role` admin key
+(which means you should only be calling this function from a backend and not from the client itself).
+
+![Generate Confirmation Links](/new/images/blog/auth-v2/generate-links.png)
+
+## What's next?
+
+The next major item on the list is MFA (Multi-Factor Authentication) - which includes TOTP
+([Time-Based One Time Password](https://en.wikipedia.org/wiki/Time-based_One-Time_Password)).
+
+
+Anything else you want to see or can help implement in Auth? Reach out on
+[Discord](https://discord.supabase.com/) and give Auth a try by [creating a project](https://app.supabase.io/) on Supabase!
diff --git a/www/lib/authors.json b/www/lib/authors.json
index f14df18ee9b..2bb55a9885c 100644
--- a/www/lib/authors.json
+++ b/www/lib/authors.json
@@ -68,5 +68,12 @@
"position": "Engineering & PostgREST maintainer",
"username": "steve-chavez",
"author_image_url": "https://github.com/steve-chavez.png"
+ },
+ "kangmingtay": {
+ "author": "Kang Ming Tay",
+ "author_url": "https://github.com/kangmingtay",
+ "position": "Engineering",
+ "username": "kangmingtay",
+ "author_image_url": "https://github.com/kangmingtay.png"
}
}
diff --git a/www/public/images/blog/auth-v2/generate-links.png b/www/public/images/blog/auth-v2/generate-links.png
new file mode 100644
index 00000000000..3452514ac60
Binary files /dev/null and b/www/public/images/blog/auth-v2/generate-links.png differ
diff --git a/www/public/images/blog/auth-v2/passwordless-login.png b/www/public/images/blog/auth-v2/passwordless-login.png
new file mode 100644
index 00000000000..9ef7cb8918c
Binary files /dev/null and b/www/public/images/blog/auth-v2/passwordless-login.png differ
diff --git a/www/public/images/blog/auth-v2/phone-and-password-login.png b/www/public/images/blog/auth-v2/phone-and-password-login.png
new file mode 100644
index 00000000000..61856169543
Binary files /dev/null and b/www/public/images/blog/auth-v2/phone-and-password-login.png differ
diff --git a/www/public/images/blog/auth-v2/supabase-auth-v2-cover.jpg b/www/public/images/blog/auth-v2/supabase-auth-v2-cover.jpg
new file mode 100644
index 00000000000..8b3c3b9761a
Binary files /dev/null and b/www/public/images/blog/auth-v2/supabase-auth-v2-cover.jpg differ
diff --git a/www/public/images/blog/auth-v2/supabase-auth-v2-og.jpg b/www/public/images/blog/auth-v2/supabase-auth-v2-og.jpg
new file mode 100644
index 00000000000..414da6cb3ed
Binary files /dev/null and b/www/public/images/blog/auth-v2/supabase-auth-v2-og.jpg differ
diff --git a/www/public/images/blog/auth-v2/supabase-oauth-providers.png b/www/public/images/blog/auth-v2/supabase-oauth-providers.png
new file mode 100644
index 00000000000..3effaaa09ca
Binary files /dev/null and b/www/public/images/blog/auth-v2/supabase-oauth-providers.png differ
diff --git a/www/public/images/blog/auth-v2/verify-otp.png b/www/public/images/blog/auth-v2/verify-otp.png
new file mode 100644
index 00000000000..602c4af4b41
Binary files /dev/null and b/www/public/images/blog/auth-v2/verify-otp.png differ
diff --git a/www/public/rss.xml b/www/public/rss.xml
index ee474530393..65b4395f328 100644
--- a/www/public/rss.xml
+++ b/www/public/rss.xml
@@ -9,9 +9,17 @@
<atom:link href="https://supabase.io/blog/rss.xml" rel="self" type="application/rss+xml"/>
<item>
- <guid>https://supabase.io/blog/2021/07/28/mobine-supabase-200000-users</guid>
- <title>Mobbin use Supabase to authenticate 200,000 users</title>
- <link>https://supabase.io/blog/2021/07/28/mobine-supabase-200000-users</link>
+ <guid>https://supabase.io/blog/2021/07/28/supabase-auth-passwordless-sms-login</guid>
+ <title>Supabase Auth v2: Phone Auth now available</title>
+ <link>https://supabase.io/blog/2021/07/28/supabase-auth-passwordless-sms-login</link>
+ <description>Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.</description>
+ <pubDate>Tue, 27 Jul 2021 16:00:00 GMT</pubDate>
+</item>
+
+<item>
+ <guid>https://supabase.io/blog/2021/07/28/mobbin-supabase-200000-users</guid>
+ <title>Mobbin uses Supabase to authenticate 200,000 users</title>
+ <link>https://supabase.io/blog/2021/07/28/mobbin-supabase-200000-users</link>
<description>Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.</description>
<pubDate>Tue, 27 Jul 2021 16:00:00 GMT</pubDate>
</item>