Commit Graph
172 Commits
Author SHA1 Message Date
Thor 雷神 SchaeffandCharis 7ce6958030 feat: add rbac claim auth hook. (#21263)
* feat: add rbac claim auth hook.

* feat: get user role from jwt.

* chore: update full-schema.

* feat: add RBAC guide.

* feat: use plpgsql.

* Apply suggestions from code review

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

* chore: make top level claim.

* chore: set search_paths.

* chore: accessing custom claims.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 14:24:32 +00:00
Tyler 68513fd618 docs: Ppdate Flutter auth UI docs to be up to date (#21691)
update flutter auth ui docs to be up to date
2024-03-02 08:36:04 +09:00
Egidio SalinaroandCharis 51dd35283d Update error about Magic Link in auth-ui.mdx (#21694)
In documentation, the default label for Magic Link `link_text` was wrong

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-01 16:25:06 +00:00
Tyler 79629b79f0 docs: Refining the Google sign-in docs for Flutter (#21633)
* Refine Google sign-in docs for Flutter

* Add Android Google sign-in video

* run prettier
2024-02-29 19:32:06 +09:00
1e03efd8b5 docs: Update Google sign-in docs for Android(Kotlin) to use credential manager and raw gotrue-kt (#21337)
* docs: Focus Google sign-in guide for Kotlin on Android

* refine the Kotlin code and add instructions to add dependencies

* Add Kotlin multiplatform instructions on Kotlin tab

* minor style tiding up

* refine instructions for creating client IDs for Android apps

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

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

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>

* ci: Autofix updates from GitHub workflow

---------

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>
Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
2024-02-27 04:35:46 +00:00
Tyler 36cac47e50 docs: Clarified Apple sign in instruction for Flutter (#21542)
Clarified Apple sign in instruction for Flutter
2024-02-26 12:30:45 +09:00
Charis a5a2cd688e add some missing getSession warnings (#21436) 2024-02-21 20:13:08 -05:00
Charis 9c322b7f58 kaizen improvements to nextjs server auth guide (#21305) 2024-02-21 22:40:51 +00:00
Tawan MuadmuenwaiandCharis 71c0113cdb Fix link paths in auth-deep-dive guides (#21400)
Update link paths in auth documentation guides

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-21 18:06:16 +00:00
200740b016 docs: fix incorrect .js extension with .ts extension (#19925)
* docs: fix incorrect .js extension with .ts extension

Within the SvelteKit example, the guide incorrectly references creating a .js file as opposed to a .ts as is required, given the contents of said file has Typescript within it

* Update apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx

* run formatter

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-02-20 23:44:35 +00:00
Joe Muller e8976a13f7 Add Apple client secret tool to Flutter tab (#21326) 2024-02-16 17:19:02 +00:00
Joel LeeandCharis 99a60bdd3c docs: update auth hooks with grants (#21278)
* docs: update auth hooks with grants

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

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-16 10:24:25 +08:00
Joe Muller 07f4e0e9c5 Update auth-apple.mdx (#21304) 2024-02-15 22:49:53 +00:00
Kang Ming dac1c3e6da docs: add information about default cookie name used (#21298) 2024-02-16 01:47:29 +08:00
Charis 1076b1d0ad fix: formatting issue causing prettier to insert empty code block in file (#21266) 2024-02-15 09:41:11 +08:00
Charis 42723d8232 refactor: move ai, realtime, functions, remaining auth docs to content directory (#21259) 2024-02-14 17:39:05 +00:00
Artem VysotskyandCharis 8318d0cd1a Add a note about consumers Azure tenent (#21245)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-14 13:55:56 +00:00
Joel Lee b5c990375b docs: add note about clock skew (#21248) 2024-02-14 08:37:32 +00:00
hawkcookie 771c337594 Fix Typo: Correct 'druation' to 'duration (#21010) 2024-02-13 08:41:32 +01:00
4e5d2cb187 docs: add local development section to auth hooks (#21122)
* docs: add local development section to auth hooks

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

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

---------

Co-authored-by: joel <joel@joels-MacBook-Pro.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-09 10:07:14 +08:00
Jon Meyers 62720c4e35 Chore: Improve Next.js Auth guide (#21104)
* revert name of token route to auth/confirm/

* add images to middleware matcher
2024-02-08 14:55:30 +11:00
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00