Commit Graph
56 Commits
Author SHA1 Message Date
Joel Lee d9c43db51d fix: move Auth error codes to top level (#29254)
* fix: move error codes to top level

* fix: remove stray newlines

* fix: merge all error sections into central location

* fix: add section heading above table
2024-09-16 07:46:40 +03:00
Joel Lee 99a40cb02a fix: add email not authorized error code to table (#29044)
* fix: update error codes table

* fix: remove accidentally added file
2024-09-04 22:53:02 +08:00
Joel Lee 12fab7788d fix: add new auth error codes (#28954)
* fix: add error codes

* fix: update copy

* fix: run prettier on suggested changes
2024-08-29 09:59:17 +08:00
Charis e324539791 fix: tutorial description (#28644)
Description says "magic link" but not (all?) the tutorials use magic
links, so make it more general.
2024-08-14 17:01:25 -04:00
Charis fc164b5d07 Refactor/app router refs (#28095)
Migrates client SDK References to App Router. (Management and CLI API references aren't migrated yet, nor are self-hosting config references.)

Some notes:

Big changes to the way crawler pages are built and individual section URLs (e.g., javascript/select) are served. All of these used to be SSG-generated pages, but the number of heavy pages was just too much to handle -- slow as molasses and my laptop sounded like it was taking off, and CI sometimes refuses to build it all at all.

Tried various tricks with caching and pre-generating data but no dice.

So I changed to only building one copy of each SDK+version page, then serving the sub-URLs through a response rewrite. That's for the actual user-visible pages.

For the bot pages, each sub-URL needs to be its own page, but prebuilding it doesn't work, and rendering on demand from React components is too slow (looking for super-fast response here for SEO). Instead I changed to using an API route that serves very minimal, hand-crafted HTML. It looks ugly, but it's purely for the search bots.

You can test what bots see by running curl --user-agent "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" <URL_OF_PAGE>

Also added some smoke tests to run against prod for the crawler routes, since we don't keep an eye on those regularly, and Vercel config changes could surprise-break them. Tested the meta images on Open Graph and all seems to work fine.

With this approach, full production builds are really fast: ~5 minutes

Starts using the new type spec handling, which is better at finding params automatically, so I could remove some of the manually written ones from the spec files.
2024-08-13 16:12:59 -04:00
Tyler eb9f0240cb docs: Remove error codes section from Flutter, Swift, and Python reference docs. (#28334)
* exclude dart, python, and swift from error codes menu

* Update the error code doc to be client lib agnostic

* run formatter

* Add a filter to filter out section items

* Update apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx

* docs: move error codes table in a separate component

* Add auth error codes section for kotlin
2024-08-06 11:41:10 +09:00
Charis 985ed13456 docs(quickstarts): add rls policy step (#28196)
Quick starts are missing the step to create an RLS policy, which can be
confusing if you choose to create the table from the Table Editor, and
subsequently can't select from it.
2024-07-31 14:58:37 +00:00
Aryan Mehrabi 92eb0511c1 fix: update next.js oauth pkce flow docs (#28183) 2024-07-25 17:13:28 +00:00
Etienne Stalmans 22d66f4999 chore: update docs and templates with search_path (#28066)
Advisor warns about missing search_path on the handle_new_user function,
which we supply in docs and SQL starter templates.
We have updated this in some docs but haven't pulled it through to everything
2024-07-18 17:54:15 +02:00
Charis 3df871be4b fix: update code examples for ssr on social login guides (#27906) 2024-07-11 11:54:04 -04:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Kang Ming ac7922b84c docs: update auth docs (#26878)
* docs: fix broken links

* docs: update auth docs
2024-05-31 16:07:43 +08:00
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Thor 雷神 Schaeff bb5fc38181 chore: small docs improvements. (#23261)
chore: start.
2024-04-25 16:01:57 +08:00
Charis 5d8cef6040 fix: update all examples and snippets to use select for auth rls func… (#22632)
fix: update all examples and snippets to use select for auth rls functions
2024-04-11 12:56:11 -04:00
Arsh Khatwani 978779cefe docs: update url label in Social Auth setup docs (#22458)
docs: update url label
2024-04-04 06:29:40 +00:00
Tyler 6b3420a5fd docs: Remove storage management section from the quick starts. (#21985)
remove storage management to keep the guide simple
2024-03-16 08:03:06 +09:00
Charis 94a07fe724 remove or warn about getSession calls in docs (#20308) 2024-01-10 14:30:26 +00:00
Luca Bertelli 69d3482fff Update storage_management.mdx (#18385)
Handle the case in which the new `avatar_url` is set to null.
2023-11-27 21:24:01 +00:00
b1eafd3957 docs: Revamp storage docs (#18259)
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Fabrizio <fabri.feno@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Inian <inian1234@gmail.com>
2023-10-24 23:46:55 +08:00
Thor 雷神 Schaeff 17d3000ac7 docs: improve expo quickstart. (#18398)
* docs: improve expo quickstart.

* fix: admonition spacing.

* fix: spacing.
2023-10-24 02:44:35 +00:00
Greg Richardson de1df4cfe0 Fix: prettier newline split within JSX tags (#18414)
fix: prettier newline split on admonitions
2023-10-23 11:51:41 -06:00
Rodrigo Martins MansueliandGreg Richardson 68d67ef0d5 feat: add-generic migration guides (#18182)
* feat: add-generic migration guides

* warning component

* Update apps/docs/pages/guides/resources.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/resources/migrating-to-supabase/postgres.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/resources/migrating-to-supabase/mssql.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* copy

* Consistency across links

* Icon fix

* Prettier

* Fix import

* docs: fix h2 heading

* docs: fix h2 heading

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2023-10-19 09:04:19 -03:00
Yash MauryaandCopple 8259944c51 fixed typo in docs (#18120)
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-10-16 06:07:35 +00:00
Andrew Smith f63e834d49 Update supabase link with --project-ref flag (#17938) 2023-10-05 17:56:54 +00:00
Greg Richardson 98c4103463 Docs: Switch tabs using query param (#17626)
* feat: switch tabs using url hash

* feat: switch tabs using query param
2023-09-22 11:29:25 -06:00
fenos 7ba7f74c8d fix: storage management doc trigger 2023-09-20 10:50:46 +01:00
thorwebdev 23b6c21f59 docs: improve user management starter setup. 2023-09-19 12:22:58 +08:00
Terry Sutton 964dfc9010 Merge branch 'master' into update_storage_management_docs 2023-09-01 15:11:17 -02:30
Kang Ming 24859a2630 docs: use admonition for callouts 2023-08-29 12:49:25 -07:00
thorwebdev b99f950b8f chore: cleanup kotlin docs. 2023-07-26 15:49:53 +08:00
Thor 雷神 Schaeff d63c295eb5 Merge pull request #14571 from hieuwu/hi/kotlin-starter-guide
Introduce guidelines to setup Supabase with Android Kotlin including sample with Jetpack Compose
2023-07-24 11:49:55 +08:00
Hieu Vu 6e74be0577 docs: reformat 2023-07-21 20:39:41 +07:00
Andrew Smith 50525b928f Remove the FAQs section for Auth Helpers 2023-07-18 12:33:35 +00:00
Andrew Smith 9efa18be53 Add frequently asked questions to the auth helpers 2023-07-16 13:06:36 +00:00
Hieu Vu 17a04381a6 docs: add google setup and simplify header 2023-07-15 21:00:03 +07:00
Denis Grafov 99228d9a2f Update storage_management.mdx 2023-07-03 16:22:46 +04:00
Greg Richardson 26be8af745 chore: change dashboard links to new url 2023-06-22 09:32:18 -06:00
Hieu Vu 82b60eec47 Merge branch 'master' into hi/kotlin-starter-guide 2023-06-08 22:01:45 +07:00
Hieu Vu 808256abc7 docs: update sql query 2023-06-08 21:54:07 +07:00
Hieu Vu 2e035241a8 docs: update sql template 2023-06-07 22:04:49 +07:00
Greg Richardson b8df7d7c2b feat(docs): code hike 2023-06-04 15:15:58 -06:00
Greg Richardson 9d0f181119 docs(ai): fix typo 2023-06-01 13:17:49 -06:00
Greg Richardson 59cb6aa668 docs(ai): link to hf edge function docs 2023-06-01 13:10:10 -06:00
Copple 21d835e2dd Adds a few more quickstarts with Colab links 2023-05-30 15:40:48 -06:00
Greg Richardson 7ce8579358 chore(prettier): fix sql & format mdx files 2023-04-28 15:55:49 -06:00
Terry Sutton 3706e39c12 Swap varchar references for text 2023-03-16 12:40:51 +08:00
dng 7b479e48fc Merge branch 'master' into docs/tutorials 2023-01-27 17:33:20 -08:00
dng aad19ba596 Apply suggestions from code review 2023-01-25 16:19:55 -08:00
tvogel 89a6b19451 Add section about storage management
This section fixes the quick-start project such that uploaded avatar
images are not leaked and are cleaned up on user deletion, too.

For a newbie such as me, such information would have been super helpful to
get kicked off with consistent database/storage management.
2023-01-25 13:17:21 +01:00