Skip to content

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

docs: update identities guide with current table fields (#27371)

Corrado Cionini1874333ffd2a
diff --git a/apps/docs/content/guides/auth/identities.mdx b/apps/docs/content/guides/auth/identities.mdx
index 41f265a8767..6607837877d 100644
--- a/apps/docs/content/guides/auth/identities.mdx
+++ b/apps/docs/content/guides/auth/identities.mdx
@@ -17,11 +17,12 @@ The user identity object contains the following attributes:
| Attributes | Type | Description |
| --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| id | `string` | The provider id returned by the provider. If the provider is an OAuth provider, the id refers to the user's account with the OAuth provider. If the provider is `email` or `phone`, the id is the user's id from the `auth.users` table. |
+| provider_id | `string` | The provider id returned by the provider. If the provider is an OAuth provider, the id refers to the user's account with the OAuth provider. If the provider is `email` or `phone`, the id is the user's id from the `auth.users` table. |
| user_id | `string` | The user's id that the identity is linked to. |
| identity_data | `object` | The identity metadata. For OAuth and SAML identities, this contains information about the user from the provider. |
-| identity_id | `string` | The unique id of the identity. |
+| id | `string` | The unique id of the identity. |
| provider | `string` | The provider name. |
+| email | `string` | The email is a generated column that references the optional email property in the identity_data |
| created_at | `string` | The timestamp that the identity was created. |
| last_sign_in_at | `string` | The timestamp that the identity was last used to sign in. |
| updated_at | `string` | The timestamp that the identity was last updated. |