From 29325389685639d93c9e4098b1f5549f62bc556c Mon Sep 17 00:00:00 2001 From: bergiusj <32297402+bergiusj@users.noreply.github.com> Date: Wed, 4 Aug 2021 06:51:19 +0200 Subject: [PATCH] Update auth-facebook.mdx Added extra information about access levels on Facebook Apps as that's required to change from standard to advanced before you can use Facebook login with Supabase Auth. --- web/docs/guides/auth/auth-facebook.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/docs/guides/auth/auth-facebook.mdx b/web/docs/guides/auth/auth-facebook.mdx index c286aa54add..371f071fd6f 100644 --- a/web/docs/guides/auth/auth-facebook.mdx +++ b/web/docs/guides/auth/auth-facebook.mdx @@ -61,6 +61,13 @@ From the `Add Products to your App` screen: - Enter this in the `Valid OAuth Redirect URIs` box - Click `Save Changes` at the bottom right +Be aware that you have to set the right access levels on your Facebook App to enable 3rd party applications to read the email address. +From the `App Review -> Permissions and Features` screen: + +- Click the button `Request Advanced Access` on the right side of `public_profile` and `email` + +You can read more about access levels [here](https://developers.facebook.com/docs/graph-api/overview/access-levels/) + ### Copy your Facebook App ID and Secret - Click `Settings / Basic` in the left sidebar @@ -110,4 +117,4 @@ function signout() { * [Supabase Account - Free Tier OK](https://supabase.io) * [Supabase JS Client](https://github.com/supabase/supabase-js) -* [Facebook Developers Dashboard](https://developers.facebook.com/) \ No newline at end of file +* [Facebook Developers Dashboard](https://developers.facebook.com/)