Commit Graph
538 Commits
Author SHA1 Message Date
Joel Lee 7547c52e4f fix: revoke role on public for hooks (#27077)
* fix: revoke role on public for hooks

* fix: update SQL editor queries

* fix: update examples

* fix: update RBAC doc

* fix: update description to describe why we revoke public

* fix: correct use of we

* fix: run prettier

* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
Tyler 3276d64075 docs: Fix the headings within tabs of Google sign-in guide (#27017)
* docs: Minor update to match the new section titles

* minor format fix
2024-06-06 10:32:49 +09:00
Charis 4c9c96a159 fix(sveltekit ssr docs): createBrowserClient use (#26872)
In the abbreviated SvelteKit SSR instructions, `createBrowserClient` is
used in hybrid code that runs on both the server and client, with
changes in the configuration depending on where it's run. That's just
confusing, because the name implies it should not run on the server.

Change it to match the full SvelteKit SSR tutorial, which selectively
runs `createBrowserClient` or `createServerClient` depending on the
current environment.
2024-05-31 11:43:29 -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
Guilherme Souza bd96a70ef0 chore(docs): add google sign-in guide for Swift (#26674) 2024-05-23 11:14:57 -03:00
Charis 2caf5ba564 enhance(docs): reorg google auth guide (web) (#25969)
* enhance(docs): reorg google auth guide (web)

* revert: sign in capitalization
2024-05-22 18:38:23 +00:00
Charel Felten 987df83904 Change Role Level Security to Row Level Security in users.mdx (#26589)
Fix mistake in users.mdx

Generally I dont like fixing spelling mistakes in repos, but this one specifically is bothering me as I am already slightly confused by Row Level Security, in particular when to use the Postgres roles, and when to use application roles (like making a `profile` table where each profile has a `role` column). This is a mistake, or not?
2024-05-20 20:01:53 +00:00
Thor 雷神 Schaeff b0dd85d2a2 chore: update example dependencies. (#26381)
* chore: update example dependencies.

* chore: bump expo.
2024-05-17 13:39:31 +08:00
kita_yuandCharis c9467f592c Update implicit-flow.mdx(fix the pkce-flow"s path) (#26063)
Update implicit-flow.mdx

fixed the PKCE-flow's path

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-13 19:00:59 +00:00
David KizivatandCharis a57e0a7153 docs: fix mfa docs (#25988)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-10 16:31:25 +00: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
Oliver Rice 13d8514c34 Remove references to non-empty search path as they are now lint warnings (#25853)
remove references to non-empty search path as they are now lint warnings
2024-05-07 15:07:20 -04:00
pqoqubbwandCharis 99824b42e8 docs: fixed social providers for mobile (horizontal scroll) (#23670)
docs: fix social providers horizontal scroll

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-02 19:02:25 +00:00
Charis 0d1f8b8627 fix: sveltekit examples pass headers through (#23448)
The `x-supabase-api-version` header was added to Supabase APIs, so it
needs to be passed through in SvelteKit examples.
2024-05-02 11:28:43 -04:00
Ant Wilson a5e527d018 fix: small support email change (#23402)
* fix: small support email change

* Update apps/docs/content/guides/auth/auth-deep-dive/auth-google-oauth.mdx
2024-04-29 11:01:35 +00:00
Inian 6e8c66265d recommend ssr over auth helpers (#23282) 2024-04-26 11:27:09 +08:00
Tyler 4366666538 docs: Add note for using different SHA-1 certificate for local debug and prod for native Google sign-in on Android (#23254)
Add note about sha-1 certificate for going prod on expo and Flutter docs
2024-04-26 10:12:16 +09:00
Charis 170668431d fix: replace docs blockquotes with admonitions (#23160) 2024-04-22 15:45:19 -04:00
Charis 914d469ff9 enhance(educate): add section on how rls works with views (#23159) 2024-04-22 16:40:22 -03:00
Charis 0c8f9942cf feat(understandability): add new server-side auth docs for sveltekit (#22574)
End-to-end guide for setting up Server-Side Auth with SvelteKit, covering:

- Protected routes
- Signin, signup, signout
- Protected data
2024-04-22 18:26:27 +00:00
Liam BirkinandCharis 7ac0f0fcc6 fix: broken links & typo in docs (#23118)
* Fix typos in testing-and-linting.mdx

- Changed an to and
- Fixed a 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* found a few more 404 links

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-22 14:32:20 +00:00
Charis 782d00b3e0 docs: otp expiry time defaults were changed (#22912) 2024-04-19 15:27:04 +00:00
Joel Lee 515a809be0 fix: update magic link defaults (#22888) 2024-04-19 16:06:31 +08:00
Jonathan Summers-MuirandIvan Vasilov c59141f83c chore: Reorder database links (#22835)
* chore: move column priv

* update docs

* Minor fixes for column privileges. Add an explanation alert.

* Add a right icon to productMenuItem component.

* Rename the database replication into publications.

* Change the order for the database menu.

* Fix various links to db publications.

* Remove duplicate entry.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-18 09:38:24 -02:30
Inian aa7770d1be fix free wording (#22820) 2024-04-17 07:35:34 +00:00
Alberto CubedduandCharis e7297d5390 Adding references to email parameters (#22608)
* Adding references to email parameters

Adding a reference to the email template documentation; Useful when you need to deploy on Vercel preview deployments.

* fix: edits

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-16 18:51:22 +00:00
Kang Ming afc83bb2f8 docs: update anonymous sign-ins guide (#22752) 2024-04-15 17:27:23 +00:00
Jan SzymańskiandCharis 261501b074 [DOCS] OAuth PKCE Flow - fix incorrect relative path for redirectTo (#22694)
Update oauth-with-pkce-flow-for-ssr.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-15 17:22:26 +00:00
Jan TennertandCharis 3cf0c219b6 docs: Update Kotlin docs for the new version (#22729)
Update Kotlin docs

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-15 17:02:43 +00: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
Guilherme Souza dca045048f chore(docs): general improvements to Swift guides (#22627) 2024-04-10 13:12:30 -03:00
Guilherme Souza 6006619c2a chore(docs): add Swift guides (#22625)
* chore(docs): add Swift guides

* chore(docs): add Swift guides for postgres changes

* chore: fix link identity swift method

* chore(docs): add Swift guides for realtime and storage

* chore: run npm run format

* chore(docs): add Swift example for passing params to `rpc` function
2024-04-10 10:57:27 -04:00
abhishekmgandCharis b2fd97c36f doc update : Updated the redirect path if user is not found (#22531)
Updated the redirect path if user is not found

Because the redirect path was `/` when I logged out and then went to something like `localhost:3000/` , this cause an infinite redirect loop and caused the app to break.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-09 14:09:39 +00:00
TylerandCharis 31a8add418 docs: add anonymous sign-in docs for Flutter (#22596)
* docs: add anonymous sign-in docs for Flutter

* minor code fix

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

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-09 22:47:17 +09:00
Kang Ming 8d2ae9d654 docs: update local dev config for anonymous sign-ins (#22581) 2024-04-09 20:30:49 +08:00
Thibault Dalban 0c457bb1e3 Fix sveltekit hooks.server.ts example (#22436)
The `supabase` variable doesn't exist in this context, but an instance is accessible through the `event.locals`.
2024-04-03 14:24:08 +00:00
Charis a1060c86de fix: better handling of getSession for sveltekit (#22381) 2024-04-03 07:18:46 -04:00
Kang Ming 0267abdb2a docs: fix typos in page router guide (#22398) 2024-04-03 00:34:17 +08:00
Charis 8e50346ff2 fix: hide legacy auth-helpers docs so deprecation notice is more obvious (#22384) 2024-04-02 00:26:51 -04:00
Joel Lee 1e583bf172 docs: remove reference to SSO from OAuth docs (#22358)
fix: update terminology
2024-04-02 01:50:32 +08:00
Jan TennertandCharis cdc1c5adcf docs: Add anonymous sign-ins to Kotlin docs (#22320)
* Add Kotlin docs

* Update apps/docs/spec/supabase_kt_v2.yml

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-01 16:48:15 +00:00
Kang Ming 91921ee7ca docs: update anonymous sign-ins guide (#22321)
* fix: recommend restrictive policies

* docs: fix incorrect link
2024-03-29 00:57:35 +07:00
9e4b7e4991 docs: anonymous sign-ins (#21801)
* docs: add guide for anonymous sign-ins

* docs: add signInAnonymously to reference docs

* docs: update tsdocs to include signInAnonymously

* docs: update RLS policies page

* fix: make reference generator more resilient

* docs: update nodes to use auth-js naming

* docs: update tsdocs

* docs: update signInAnonymously method

* docs: add abuse prevention & cleanup to anonymous users guide

* docs: update rate limit table

* docs: update automatic cleanup section

* docs: update access control & abuse prevention

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

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

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

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

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

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

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

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

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

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>

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

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

* docs: update access control

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

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

* docs: update anonymous users guide

* docs: update anonymous user guide

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-03-27 18:01:07 +07:00
5215a993af docs: remove unused user_id param (#21939)
* docs: remove unused user_id param

* mark fn STABLE not IMMUTABLE

* chore: update throughout.

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-03-27 09:11:11 +00:00
Charis fa8c9f360b fix: docs sidebar collapse and highlight (#22108)
* fix: make sidebar collapse work when hash is selected

* fix: persist sidebar highlight when hash is selected

* chore: cleanup

* fix: fix enterprise sso case
2024-03-25 10:31:00 -04:00
Kellen MaceandCharis 38939fbc79 Docs: Fix TypeScript Error on "Email Auth with PKCE flow for SSR" page (#22204)
Fix TypeScript Error

Set types properly in SvelteKit example to resolve a TypeScript error.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-25 13:47:52 +00:00
Ryan McCahan 67210c20c1 Docs: Twilio Phone Login Doc Typos (#22128)
Typo edits
2024-03-20 07:19:12 +00:00
DavidandCharis Lam f95b35bf2a Added info about signInWithOauth redirect (#22088)
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-03-19 08:27:25 +00:00
hawkcookieandCharis 684c478901 docs: Fix broken SITE_URL link (#21896)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-19 08:09:41 +00:00
Kang Ming d7c2dc0a33 docs: add error handling to redirect urls section (#22081)
* docs: add error handling to redirect urls section

* docs: remove user deleted event
2024-03-19 09:18:43 +07:00