Commit Graph
177 Commits
Author SHA1 Message Date
T.K ef656ff753 docs(auth): update PKCE flow and Next.js example for password-based auth (#29971)
* docs(auth): update PKCE flow and Next.js example for password-based auth

Update the password-based authentication documentation to improve consistency and clarity:

- Add email redirect information to PKCE flow, mirroring the Implicit flow section
- Align the Next.js example in app/auth/confirm/route.ts with the official Supabase documentation for server-side auth in Next.js
- Update email template to include 'next' parameter for better redirect handling
- Improve error handling and redirect logic in the Next.js example

These changes aim to provide a more comprehensive and consistent guide for implementing password-based authentication, especially for Next.js applications using the PKCE flow.

Ref: https://supabase.com/docs/guides/auth/server-side/nextjs

* fix(docs): format email confirmation link and update sign-up function example
2024-11-14 20:58:23 +00:00
Kyle Malloy efd536e599 docs: subdomain sso (#30424)
* docs:subdomain sso

* docs:subdomain sso - lint & format
2024-11-13 10:17:26 +08:00
Kang Ming b842621f3a docs: update oauth guides (#30411) 2024-11-11 19:46:35 +08:00
Joel Lee d7c6eb1739 fix: remove reference to Hugo templating in Auth Email guide (#30354)
fix: remove reference to Hugo teplating
2024-11-10 18:52:50 +08:00
Enyosolutions 9cdabe188e Doc: update documentation for secret name. (#30370) 2024-11-08 16:50:11 +00:00
hoshima 6dabaa44fc docs(auth-google): fix typo (#30278) 2024-11-04 16:52:10 +00:00
Joel Lee 35d6a4f547 fix: signal that Auth Helpers is deprecated (#30230)
* fix: signal that Auth Helpers is deprecated

* fix: update the other doc

* fix: grammar

* fix: grammar
2024-11-01 16:58:02 +00:00
Lukas Krisikaitis 83e5cca60b docs(auth): update password reset function name in PKCE flow (#30215)
Updates method name in passwords.mdx
2024-10-31 22:27:53 +00:00
Joel Lee 4ead1c7ba2 feat: add docs around linking anonymous user to existing account (#29511) 2024-10-30 13:23:02 +08:00
hallidayo b7d914b962 docs: email templates link change (#30110)
link change
2024-10-29 15:34:33 +00:00
Joel Lee df1bfb9017 fix: describe Auth Hook interaction with email provider (#30159)
* fix: include table with email settings

* fix: update terminology to Enabled/Disabled
2024-10-29 17:09:29 +08:00
Joel Lee c9a5c6005d fix: add confirmation url for Send Email Auth Hook (#28821)
fix: add confirmation url generation
2024-10-29 14:45:20 +08:00
Guilherme Souza e3370035c4 docs: add github example for Swift (#30062) 2024-10-25 14:50:07 -03:00
Terry SuttonandCharis Lam bb0306061d Chore/update to next 15 (#30075)
* Update Next.js docs for v15

* More awaiting

* remove async for pages router

* fix for dashboard connection guide

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-10-24 12:56:20 -02:30
Kyle Malloy 6e4eaab51a astro middleware (#29729)
* astro middleware

* prettier
2024-10-16 15:48:28 +00:00
Wen Bo Xie fb2f7e2d43 fix: fully qualify table in send email auth hook (#29906) 2024-10-16 09:54:30 +02:00
Joel Lee b6f1e1bd78 fix: change to return jsonb (#29887) 2024-10-14 18:18:11 -04:00
Axole Maranjana 5becfc1b4c Update auth-google.mdx: update the userInfo object (#29705)
Update auth-google.mdx
2024-10-08 21:00:13 +00:00
Joel Lee 6c42d303d0 feat: add section about multi-tenant sso (#29514)
* feat: add section about multi-tenant sso

* fix: expand AD to active directory
2024-10-08 15:02:09 +02:00
Guilherme Souza 503415602c docs: add facebook auth swift example (#29587)
* docs: add facebook auth swift example

* format
2024-10-02 08:17:34 -03:00
Misha Kaletsky ec70baf0a3 Clarify how to use the service role key with the rest API (#29629)
I struggled with this for a while. v0 was able to figure this out from the docs, but I wasn't, so I thought an explicit example which makes it easy to go from values you see in the dashboard to what-do-i-need-to-do would help.
2024-10-01 23:29:24 +00:00
Joel Lee f58afe2e76 fix: update to make explicit that there can be multiple secrets (#29553) 2024-10-01 07:28:42 +00:00
Kyle Malloy a2be5836ad Missing import in Astro example (#29460) 2024-09-30 07:14:22 +00:00
Stojan DimitrovskiandJoel Lee ef4ba685e3 docs: add updated auth custom smtp docs (#29532)
* docs: add updated auth custom smtp docs

* apply suggestion from @J0

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

* final suggestions

* add info about ssr

---------

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-09-26 15:17:21 +02:00
Guilherme Souza d22f64029e chore(docs): add section for swift error codes (#29520) 2024-09-25 17:19:47 -03:00
Tyler fe25383047 docs: Add redirectTo and authScreenLaunchMode parameter to signInWith OAuth calls in Flutter docs (#29407)
docs: add redirectTo and authScreenLaunchMode parameter to signInWithOAuth calls in Flutter docs
2024-09-26 00:14:40 +09:00
Guilherme Souza e4042bca70 chore(docs): fix auth apple guide by removing import GoTrue (#29513) 2024-09-25 13:29:21 +00:00
Joel Lee 10ba4999cd fix: specify which auth0 package to import for tpa (#29342)
* fix: specify which auth0 package to import for tpa

* fix: run prettier

* fix: update import
2024-09-17 21:01:43 +03:00
Charis 8191842276 fix(docs): code in wrong file for react auth quickstart example (#29324) 2024-09-16 11:36:49 -04:00
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
Sarthak Gupta 681f95b21a docs: fix the redirectUrl for preview deployments in vercel (#29149)
* docs: use <team-or-account-slug> in redirectUrl of vercel
2024-09-12 15:49:40 +00:00
Chris Caruso ac68b267cc Carusocv/docs/anon nextjs bug (#29182)
* Adding callout for dynamic rendering next.js for anon auth
2024-09-10 08:28:44 -05:00
yuki 1507a9864f Update phone-login.mdx (#28856)
clarify `phone_change` type usage in phone number update with `verifyOTP`
2024-09-09 16:12:04 +00:00
Dag-Inge Aas b0b5c478c2 fix: Use tenant instead of tenant_id in config.toml (#29053)
According to the (actual configuration)[https://github.com/supabase/cli/pull/2595/files#diff-a3d824da3c42420cd5cbb0a4a2c0e7b5bfddd819652788a0596d195dc6e31fa5R277] the correct way to configure auth0 is to use `tenant` instead of `tenant_id`.

Fixes https://github.com/supabase/cli/issues/2654
2024-09-06 13:20:23 +00:00
Dmytro Dobrovolskyi 9b91ed175e Fix typo in docs (#29097)
Fix typo in middleware.ts filenaming
2024-09-05 14:12:36 +00:00
Charis 33be4b8061 fix(docs): email template instructions for pkce (#29089) 2024-09-04 14:21:21 -04:00
Charis c757fcab20 fix,feat(sitemap): add all pages + priority (#29083)
Pages were missing from the sitemap after the reorganization. Added them
back in.

Also added an optional priority that can be specified by including
`sitemapPriority` in content metadata. Used on the deprecated Auth
Helpers pages to see if we can tweak the relative SEO ranking for them.
2024-09-04 11:16:51 -04:00
Sonu Kumar 5017342b5b docs: using safeGetSession instead session. (#29007)
fix(docs): using safeGetSession instead session.
2024-09-03 16:59:14 +00:00
Joel LeeandRodrigo Mansueli 3b6364a088 fix: explain rationale for restricting otp expiry (#28977)
* fix: explain rationale for restricting otp expiry

* Update auth-email-passwordless.mdx

Vale suggestion

---------

Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2024-08-29 17:06:59 +00:00
Joel Lee 3546b88b00 docs: fix typo (#28899) 2024-08-28 11:18:44 +02:00
Guilherme Souza 9cf5f9168c docs: add missing python examples on guides (#28750) 2024-08-26 08:07:33 -03:00
Francesco Sansalvadore e77f8b9f39 fix inline code word break (#28840) 2024-08-23 17:07:20 +02:00
Thor 雷神 Schaeff 2ae41b620e Add Auth Hook Resend Example. (#28805) 2024-08-23 21:31:35 +08:00
Thor 雷神 Schaeff fc5a5c8303 Update send-email-hook.mdx (#28785) 2024-08-22 23:17:45 +08:00
Kang Ming ccb4820cf7 fix: add resend example to send email hook (#28613) 2024-08-20 22:31:49 -04:00
Kang MingandStojan Dimitrovski 7fa23150ac fix: update google one-tap docs (#28723)
* fix: update google one-tap

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

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

* chore: update one-tap component to use addEventListener

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-08-20 16:17:58 +00:00
Stojan Dimitrovski 185590c1cd fix: rename AWS Cognito to Amazon Cognito (#28765)
fix: rename AWS Cognito to Amazon Cognitog
2024-08-20 14:04:17 +02:00
Kang Ming d18bef8b9c docs: update postgres hooks security model (#28681)
* fix: update security model for postgres hooks

* chore: remove grants from postgres hook examples
2024-08-15 16:13:14 -04:00
Jan Tennert af002c7bfd Add Kotlin third party auth & phone mfa docs (#28677) 2024-08-15 18:40:03 +00:00
dikshant rajput 0164efe2b8 Docs-fix: Missing closing parenthesis in auth-google.mdx (#27764)
Update auth-google.mdx

A small unnoticeable syntax issue
2024-08-15 17:20:11 +00:00