Skip to content

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

docs: clarify Azure provider scopes requirement (#9236)

Stojan Dimitrovskid2e4b539106c
diff --git a/apps/reference/docs/guides/auth/auth-azure.mdx b/apps/reference/docs/guides/auth/auth-azure.mdx
index 93d1a6c11c6..6475d9d8470 100644
--- a/apps/reference/docs/guides/auth/auth-azure.mdx
+++ b/apps/reference/docs/guides/auth/auth-azure.mdx
@@ -65,6 +65,10 @@ This will allow your users to use your custom Azure login page when logging in.
## Add login code to your client app
+:::tip
+Supabase Auth requires that Azure returns a valid email address. Therefore you must request the `email` scope in the `signIn` method above.
+:::
+
When your user signs in, call [signInWithOAuth()](/docs/reference/javascript/auth-signinwithoauth) with `azure` as the `provider`:
```js