Fix tenant URL in Azure settings

Fixes auth issues reported in https://github.com/supabase/gotrue/pull/54

See comment: https://github.com/supabase/gotrue/pull/54#issuecomment-1702991208
This commit is contained in:
aar2dee2 authored and GitHub committed 2023-09-02 17:58:50 +05:30
1 parent d3d4b95119
commit 04e50cde96
1 file changed
+2 -5
@@ -57,10 +57,7 @@ This will serve as the `client_secret` when you make API calls to authenticate t
This will allow your users to use your custom Azure login page when logging in.
- Select the Directory (Tenant) ID value.
- The Azure Tenant URL should look like this: `https://login.microsoftonline.com/<tenant-id>`
![Obtain the tenant url](/docs/img/guides/auth-azure/azure-tenant-url.png)
Set the tenant URL in your Supabase Azure Provider settings to `https://login.microsoftonline.com/common`
## Add login code to your client app
@@ -77,7 +74,7 @@ async function signInWithAzure() {
const { data, error } = await supabase.auth.signInWithOAuth({
provider: 'azure',
options: {
scopes: 'email',
scopes: 'email', // this is important
},
})
}