> For the complete documentation index, see [llms.txt](https://docs.shipped.club/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shipped.club/features/authentication/supabase-auth.md).

# Supabase Auth

{% hint style="info" %}
Remember to switch to the branch `supabase` in the Shipped repository to leverage the Supabase code.
{% endhint %}

## Sending emails for Supabase Authentication

Supabase has recently changed their policies in terms of email sending, and in order to provent spam, they allow to send emails only to the member of the Supabase Organization Team ([check yours here](https://supabase.com/dashboard/org/_/team)) and it is intended to be used for testing purposes only.

&#x20;For production use, it requires you to configure a [custom SMTP](https://supabase.com/docs/guides/auth/auth-smtp).

There are several services you can use to send emails.

A non-exhaustive list of services that work with Supabase Auth is:

* [Resend](https://resend.com/docs/send-with-supabase-smtp)
* [AWS SES](https://docs.aws.amazon.com/ses/latest/dg/send-email-smtp.html)
* [Postmark](https://postmarkapp.com/developer/user-guide/send-email-with-smtp)
* [Twilio SendGrid](https://www.twilio.com/docs/sendgrid/for-developers/sending-email/getting-started-smtp)
* [ZeptoMail](https://www.zoho.com/zeptomail/help/smtp-home.html)
* [Brevo](https://help.brevo.com/hc/en-us/articles/7924908994450-Send-transactional-emails-using-Brevo-SMTP)

**Resend** has a generous [free plan](https://resend.com/pricing), and a [detailed guide about how to integrate Supabase and Resend](https://resend.com/blog/how-to-configure-supabase-to-send-emails-from-your-domain) so I recommend you to get started with it.

We have dedicated guides about the setup of Supabase Auth:

* [Supabase Magic Link](/features/authentication/supabase-auth/supabase-magic-link.md)
* [Supabase Email & Password](/features/authentication/supabase-auth/supabase-email-and-password.md)
* [Supabase Authentication Flow](/features/authentication/supabase-auth/supabase-authentication-flow.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.shipped.club/features/authentication/supabase-auth.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
