Commit Graph
271 Commits
Author SHA1 Message Date
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
Charis a62ae515b1 docs: add instructions for using management api as alternative to dashboard ui (#36676) 2025-06-26 09:10:10 -04:00
Vangmay SachanandCharis d2b9eee9e9 Wrote docs for JWT Field (#36578)
* Wrote docs

* Update apps/docs/content/guides/auth/jwt-fields.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-06-25 16:30:05 +00:00
4b8d5f5502 docs: add workos tpa docs (#36662)
* docs: add workos to 3rd party auth docs

* Commit @charislam's suggestions

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

* more explanation of the user_role claim

* drop CLI instructions for now

* add WorkOS to nav menu

* fix typo

* use issuer not client id

* fix prettier

---------

Co-authored-by: Cameron Matheson <cameron@workos.com>
Co-authored-by: Cameron Matheson <cameron.matheson@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-06-25 17:15:51 +02:00
Cemal Kılıç aa1d904f4d feat: list allowed symbols for password security (#36470)
* feat: list allowed symbols for password security

* fix: formatting
2025-06-18 11:57:50 +02:00
Chandrajeet MauryaandCharis Lam 985733f523 Update auth-apple.mdx (#36389)
* Update auth-apple.mdx

Add notes on to add all custom identifier for expo development build

* fix lint error

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-16 16:12:54 +00:00
Stojan Dimitrovski 73e6f97c65 docs: add web3 cli instructions (#36188) 2025-06-05 09:24:19 +00:00
hallidayo 14fd307392 fix: auth docs - removed example line (#36078)
removed example line
2025-06-02 16:21:42 +00:00
Cemal Kılıç f6b316e1cf chore(docs): update required claims for access token (#36021)
docs: update required claims for access token
2025-05-29 15:35:15 +02:00
CharisandTerry Sutton 37d92e81c3 refactor(docs): turn auth error codes table into data file (#35857)
* refactor(docs): turn auth error codes table into data file

Take the Markdown error codes table and turn it into a data file
instead. This makes it easy to parse and reuse in other places besides
Markdown documents.

* Update apps/docs/content/errorCodes/authErrorCodes.toml

Co-authored-by: Terry Sutton <saltcod@gmail.com>

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-05-27 14:10:40 +00:00
654484408a docs: add web3 docs (#35650)
* docs: add web3 docs

* docs: prettifier for auth-web3

* apply suggestion from @cemalkilic

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

* apply suggestion from @charislam

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

* more docs updates

* more fixes

---------

Co-authored-by: Cemal Kilic <cemalkilic96@gmail.com>
Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-23 10:28:59 +02:00
Stephen Morgan 9fa1b66826 Fix: slack integration and sample code (#35862)
* fix:issue with slack integration

* fix: open redirect in sample code
2025-05-23 16:30:36 +12:00
Charis 6fcb98d927 docs(pg17): add docs on pg17 upgrades (#35431) 2025-05-22 14:07:06 -04:00
Charis 109ad11b66 docs(auth): mention that leaked password protection only on paid plans (#35725) 2025-05-20 11:44:04 -04:00
Pierre Vieira df9f581eee Fix: update extension name for Google login in auth-google.mdx (#35704) 2025-05-16 19:56:42 +00:00
Stojan Dimitrovski 554290b44c docs: mention processLock when using react native (#35076) 2025-05-16 20:00:30 +02:00
Pierre Vieira 8e43416557 Update auth-google.mdx to reflect the new Auth object (#35681) 2025-05-15 15:41:41 +00:00
Gajendra Singh Rathore 29bc60602a Update auth-apple.mdx (#35657)
Config name correction based on "AppleLoginConfig"
2025-05-14 12:52:42 +00:00
Andrew Smith 6806ff5755 fix(docs): update callback url to use token_hash instead of token (#35643) 2025-05-13 14:07:49 +00:00
hallidayo 07a8d234cb feat: deprecated auth ui admonition (#35610)
ui link in admonition
2025-05-12 00:39:42 +00:00
NikolajandCharis 33eb11c052 Added <$CodeTabs> to Pages Router tab (#35612)
* Added <$CodeTabs> to Pages Router tab

There was an inconsistency between the App Router and Pages Router page, which was only a small detail.

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-12 00:29:23 +00:00
Charis 02aea98053 docs(third-party auth,clerk): correct examples (#35412)
Correct the code examples for the Clerk third-party auth docs:
- Fix TypeScript error
- Change RLS policy check to accept both [Clerk v1 and v2
JWTs](https://clerk.com/docs/backend-requests/resources/session-tokens)

Pulled code samples from an example app that I've checked in to make
maintenance and testing easier in the future.
2025-05-02 11:13:19 -04:00
yujiseok 2ca5a12854 fix broken Apple REST API link in auth-apple.mdx (#35404)
- replace broken Sign in with Apple REST API link
2025-05-01 15:25:22 +00:00
Nate Barbettini ae7759be9c fix(docs): Fix example file name in auth/quickstarts/nextjs.mdx (#35364)
fix: Fix example file name in auth/quickstarts/nextjs.mdx
2025-04-30 18:04:30 +00:00
Akshar Dave 1c615137bb Fixed typo— "cookiesm" (#35179) 2025-04-21 15:46:45 +00:00
Rodrigo Mansueli f38d08fefb Chore: Update password leak link in the docs (#34916) 2025-04-11 10:07:01 -03:00
Charis 258bc37919 docs: add type hints (#34678) 2025-04-08 13:25:46 -04:00