Commit Graph
297 Commits
Author SHA1 Message Date
Monica Khoury 411b53227b Docs: fix incorrect link in sessions guide (#39268) 2025-10-08 17:03:49 +02:00
Guilherme Souza ec78a8d3cf docs: add Flutter documentation for maxAffected and linkIdentityWithIdToken (#39132) 2025-10-01 05:08:26 -03:00
2a0911379e docs: Remove or deprioritise as many auth helpers mentions as possible (#38919)
* Draft

* Overhaul and remove as many mentions of auth-helpers as possible

* Update apps/docs/content/guides/getting-started/tutorials/with-nextjs.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update apps/docs/content/guides/auth/auth-helpers.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Prettier

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-09-22 13:25:51 +00:00
Chris Chinchilla 3d8e5d9cfd docs: Set default priority in sitemap and lower auth-helper priority (#38918)
Set default priority in sitemap and lower auth-helper priority
2025-09-22 15:16:17 +02:00
3139f85b5d docs(react-native): Expo cross-platform social sign-in with complete example (#38178)
* docs(react-native): create the basic expo project

* docs(react-native): cross-platform Apple social sign-in

* docs(react-native): cross-platform Google social sign-in

* docs(react-native): fix typos

* docs(react-native): remove wrong entry in the `Connection` component

* Correct typos

* Prettier

* Draft

* Draft

* docs(react-native): use kebab-case file naming convention in Expo guide

- use kebab-case file naming convention in Expo guide
- add trailing semicolon to align with the standard Expo template conventions

* docs(react-native): use kebab-case file naming convention in Expo social auth example

* docs(react-native): update the packages of the Expo social auth example

* Fix

* Draft

* Changes

* Correct log message

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-09-19 16:53:35 +02:00
Chris StocktonandChris Stockton 98b6bff713 fix(docs/auth): update auth settings links (#38725)
Many links were redirecting to a 404, this updates them to point
to each links new settings page.

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-09-16 07:10:41 -07:00
Stojan Dimitrovski e09df40f93 docs: update google auth docs (#38740)
* docs: update google auth docs

* fix issues

* fix more issues

* more fixes
2025-09-16 15:43:16 +02:00
Han Qiao 4a69c113e0 chore: update docs on minting custom jwt (#38653) 2025-09-16 20:57:59 +08:00
David 10cc742349 Update auth-google.mdx (#36780)
Update flutter section based on google_sign_in 7.x
2025-09-16 09:33:47 +00:00
e8c158bc48 docs: web3 and some other js reference improvements (#38670)
* docs: web3 and some other js reference improvements

* add MetaMask to spell rules

* apply suggestion from @cemalkilic

Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>

* fix tests

* test: update snapshot

---------

Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-09-15 14:56:34 +02:00
Chris Chinchillaandgithub-actions[bot] d91ea9d4e2 docs: Clear up keys and connection instructions in web getting started guides [DO NOT MERGE] (#38554)
* Clearup keys and connection instructions in web getting started guides

* Update apps/docs/content/_partials/project_setup.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update apps/docs/content/_partials/project_setup.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* prettier

* second try

* Fix keys for getting started section

* Updated keys for auth section, SSR aside

* Remove mention of dropdowns for now

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 11:35:34 +00:00
hallidayo 4c5abd8dcb docs: sessions link incorrect (#38445)
correct sessions link
2025-09-11 16:10:55 +00:00
Cemal Kılıç 70ce5df691 feat(docs): add auth audit logs docs (#37548)
* feat(docs): add auth audit logs docs

* fix: postgresql -> postgres

* fix: queryable -> searchable?

* fix: format

* feat: add log field reference for auth audit logs

* fix: add missing `actor_via_sso` for auth logs
2025-09-10 10:08:45 +02:00
Stojan Dimitrovski 60b3ec2f9a docs: clarify user_metadata (#38252) 2025-09-10 09:58:20 +02:00
Stojan Dimitrovski ef6e969dd9 docs: clarify empty jwks.json (#38250) 2025-09-10 09:58:08 +02:00
CharisandChris Chinchilla 47705a8968 chore: replace all supabase urls with relative urls (#38537)
* fix: rewrite relative URLs when syncing to GitHub discussion

Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com

* fix: replace all supabase urls with relative urls

* chore: add linting for relative urls

* chore: bump linter version

* Prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-09-09 12:54:33 +00:00
Chris Chinchilla 58100a0121 docs: Change key name for dynamic loading docs (#38011)
Change key name for dynamic loading docs
2025-09-09 09:28:49 +02:00
Chris ChinchillaandCharis Lam 6821c07811 docs: feature toggle tests (#38282)
* Docs feature toggle tests

* Prettier

* Types fix

* Hide unsupported languages

* Fix import

* Add unsupported code warning

* Further SDK toggling

* Temp intro text

* Auth toggles

* clean up conditional visibility code

* fix: typecheck, tests, tiny bug

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-09-04 16:46:08 +02:00
6855e027cd docs(auth): add Flutter signInWithIdToken example for Facebook auth (#38265)
* docs(auth): add Flutter signInWithIdToken example for Facebook auth

Add documentation section showing how to integrate Facebook authentication
in Flutter using the signInWithIdToken method with the Facebook SDK.
Includes dependency setup, basic implementation, and error handling.

* fix style

* docs(dart): add Facebook signInWithIdToken example

Add native Facebook sign-in example to the Dart client reference
documentation. Includes integration with flutter_facebook_auth package
and proper error handling for the signInWithIdToken method.

* docs(dart): simplify provider parameter description

Remove specific provider enumeration from parameter description
to keep it more generic and maintainable.

* Add signInWithIdToken to spelling allow list

* Update auth-facebook.mdx

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update apps/docs/content/guides/auth/social-login/auth-facebook.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update apps/docs/content/guides/auth/social-login/auth-facebook.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 08:16:20 -03:00
Chris StocktonandChris Stockton 97a447ac5c docs(auth-hooks): clarify webhook status codes and document email_change quirk (#38141)
* docs(auth-hooks): clarify webhook status codes and document email_change quirk

- Clarify hook response handling:
  - Note that some hooks do not support 204 responses if they require a body
  - Update retry-able error behavior for 429/503 with explicit 5s budget
  - Add note that Retry-After header is only checked for non-empty value, not parsed

- Expand send-email-hook docs:
  - Add detailed section on `email_change` behavior
  - Explain secure vs non-secure modes and when two emails must be sent
  - Document long-standing quirk where `token_hash` and `token_hash_new`
    are swapped relative to expected naming
  - Extend enum to include `reauthentication`
  - Improve confirmation URL example using URLSearchParams and projectRef

* fix: fix linter error

* fix: pr feedback

* fix: pnpm format

* fix: pr feedback

---------

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-08-26 08:41:13 -07:00
Raúl Barroso 29ee6a2992 style: use GitHub's right product name (#38099)
* style: use GitHub's right product name

* fix: use correct kotlin provider
2025-08-22 13:43:47 +02:00
Stojan DimitrovskiandChris Chinchilla 93ba2a312c docs: indicate publishable key instead of anon in many examples (#37411)
* docs: indicate publishable key instead of anon in many examples

* replace your-anon-key to string indicating publishable or anon

* fix your_...

* apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update keys in code examples

* Prettier fix

* Update apps/docs/content/guides/functions/schedule-functions.mdx

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-18 13:47:48 +02:00
Ivan VasilovandChris Chinchilla a63e91255c Update the docs for domains on google oAuth screens (#37942)
* Update the docs for google domains.

* Apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-15 08:44:18 +00:00
HEXXT 4ade836032 fixed missing async keyword (#37882) 2025-08-12 19:51:02 +00:00
wheredoesyourmindgo 465600fc92 Update nextjs.mdx (#37420)
Public error route
2025-08-12 16:02:20 +00:00
Rendy Febry 7abbcebd9c Fix LinkedIn Developer URL (#37855) 2025-08-12 09:03:30 +00:00
Eduardo Gurgel 1e10ee6844 fix: specify that 3rd party JWTs must have kid header parameter (#37778) 2025-08-09 13:45:46 +12:00
NJShanta d3693248b0 Fix grammar in Google Auth SHA-1 fingerprint note (#37417)
docs: fix grammar in Google Auth SHA-1 fingerprint instructions
2025-08-06 17:12:35 +00:00
Sami Fouad a69d464dfa Update broken link in auth-apple.mdx (#37689)
Apple changed the URL associated with Apple JS. Provided updated link where needed.
2025-08-05 22:31:01 +00:00
Chris Chinchilla bab22d9e7e docs: Add react Router to SSr auth guide (#37514)
* Clarify where to add utils folder

* Add React Router

* Revert "Clarify where to add utils folder"

This reverts commit 89f72c6bea.
2025-08-05 11:13:57 +02:00
Mert b0d1b9308f Update auth-google.mdx (#37484)
Update Google auth to use rememberSignInWithGoogle (compose-auth v3.2.2) line 715
- Matches `compose-auth` library documentation for version 3.2.2
2025-08-04 20:24:06 +00:00
Han Qiao 5e3518ffd6 docs: use the correct command for generating signing key (#37623) 2025-08-01 22:00:52 +08:00
Charis b3d2dc6fa3 docs(magic links): correct configuration page link (#37564) 2025-07-31 08:53:43 -04:00
Chris Chinchilla 445a129c77 docs: Update React auth quickstart (#37530)
Update with recent framework changes
2025-07-31 14:00:19 +02:00
Simon Hackler 02190a3ae8 Fix docs error passwords.mdx (#35993)
Fix error passwords.mdx
2025-07-28 21:54:02 +00:00
molti-taskingandCharis 95b421b523 docs: clarify requirement for combining restrictive policy with permi… (#33540)
* docs: clarify requirement for combining restrictive policy with permissive policy

Adding a note like this would have saved me hours, explaining that a single 'restrictive' RLS policy alone will fail unless combined with another policy that returns true, ensuring the combined OR condition is satisfied. This clarifies the need for at least one policy to explicitly grant access when multiple RLS policies are in place.

* Update apps/docs/content/guides/auth/auth-anonymous.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-07-28 20:37:44 +00:00
Jacek Tomaszewski 7189ac464f docs(react-native): make it work on web platform too (#35226)
Current quick start example for react-native doesn't work on web. 

This PR fixes it, as guided by https://github.com/supabase/supabase-js/issues/870#issuecomment-1746699664 .
2025-07-28 16:46:54 +00:00
Chris Chinchilla ac0cbe0686 docs: Clarify where to add utils folder (#37434)
Clarify where to add utils folder
2025-07-28 11:52:13 -03:00
Han Qiao 1a9c718cf9 docs: update inbucket reference to mailpit (#37427) 2025-07-26 00:03:43 +08:00
kjayapraandKarthika Jayaprakash 8c0a9486cd Update React quickstart guide with recommended alternatives to create-react-app (#37222)
* docs: update React quickstart guide with recommended alternatives to create-react-app

- Removed deprecated 'npx create-react-app' command
- Added Next.js, React Router, and Expo alternatives
- Included React team's official deprecation notice link

* Removed multiple options and provided Vite as the recommendation.

---------

Co-authored-by: Karthika Jayaprakash <karthikajayaprakash@Karthikas-MacBook-Air.local>
2025-07-18 14:47:31 +00:00
Bayan Bennett 45e2d1b2d2 docs(auth-google): use onReady in Next.js one-tap component example (#37227)
* Update auth-google.mdx

* Update apps/docs/content/guides/auth/social-login/auth-google.mdx

* prettier fix
2025-07-17 18:53:53 +00:00
Micael Dias 95a4d9b698 fix(docs): magic_link is not a valid action type (#37129) 2025-07-14 21:05:03 +00:00
3046683210 docs: jwt signing keys (#37027)
* docs: jwt signing keys

* apply suggestion from @charislam

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* add cryptography to spellchecker

* fix word

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove easily

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix significantly

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-14 10:33:41 +02:00
Stojan Dimitrovski a19769440e feat: update docs, ui-library to use supabase.auth.getClaims() (#36933) 2025-07-08 19:11:57 +02:00
Charis f107437ae0 docs(realtime error codes) (#36891)
Convert realtime error codes to the new format. This makes them available
through the shared ErrorCode component and via the Content API.
2025-07-04 16:07:58 -04:00
d3ffbe0999 [bot] fix lint errors (#36872)
* [bot] fix lint errors

* Update apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx

---------

Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-07-04 15:18:16 +00:00
Supun Sudaraka d3ef8bf2b8 docs: update auth email template variables (#36865)
* updated the auth email templates doc with .Email and .NewEmail template variables

* fixed a minor detail on the variable description text

* fixed a typo
2025-07-04 07:16:28 +05:30
Charis e2fecc0f5d chore(docs linter): bump version (#36715)
* chore(docs linter): bump version

* style: format
2025-07-03 14:46:29 +00:00
Chris StocktonandChris Stockton 8a4bca34a7 feat: add documentation and UI integration for Before User Created hook (#36567)
* feat: add documentation and UI integration for Before User Created hook

- Added new guide: `before-user-created-hook.mdx`, documenting usage, inputs,
  outputs, and multiple complete examples for HTTP and SQL.
- Updated navigation menu and hook index table to include the new hook.
- Hook is now listed as available on Free and Pro plans.

Studio changes:
- Registered `Before User Created` hook in `hooks.constants.ts` with proper
  title, slug, and configuration keys.
- Enabled Docs button linking to hook guide in both `CreateHookSheet` and `HookCard` components.
- Extended hook listing page to support docs access via `secondaryActions`.

This hook allows developers to intercept and reject user creation across all
flows (email/password, OAuth, SSO, SAML, anonymous) - enabling custom signup
logic like domain allowlists, geofencing, or account gating.

* fix: add subnet to mdx lint allowed list

* fix: incorporate feedback and spelling changes

* feat: add allow/deny domain and CIDR examples to before-user-created hook

This commit enhances the documentation for the before-user-created auth hook:
- Adds production-ready SQL examples for blocking or allowing signups by email domain (signup_email_domains) and IP address or CIDR (signup_networks)
- Introduces enum-based classification (allow vs deny) for both domain and network restrictions
- Adds full migration-style snippets for easy copy/paste into Supabase SQL Editor
- Includes updated HTTP examples that delegate to Postgres functions via Supabase client rpc()
- Adds environment setup guidance and edge function scaffolding

* fix: pnpm format

---------

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-07-02 14:54:07 -07:00
skelbon 1e983eb6cf docs(auth) - typo correction (#36701)
Fix wording inconsistency between countries and colors example
2025-06-26 16:26:56 +00:00