feature: auth agent references#36
Conversation
397502e to
d097278
Compare
e43f621 to
6417961
Compare
|
Hey Auth team, I've gave this another look by comparing the information from the reference files and our documentation. Below is the changelog report with the changes for each file and the sources I used for each one auth-hooks-send-email.md — Corrected
auth-server-ssr.md — Replaced auth-core-sessions.md — Fixed misleading
auth-core-signin.md — Documented that email change double confirmation depends on "Secure Email Change" setting. auth-core-signup.md — Fixed "fail silently" → redirects to Site URL, added warning that trigger failures block sign-ups.
auth-hooks-custom-claims.md — Added
auth-mfa-phone.md — Fixed "SMS sent automatically" →
auth-mfa-totp.md — RLS policy now uses auth-oauth-pkce.md — Awaited
auth-oauth-providers.md — Azure scopes corrected to just
auth-passwordless-magic-links.md — Template uses
auth-passwordless-otp.md — Removed hardcoded "expires in 1 hour", added WhatsApp channel option, added 60-second verification window note.
auth-server-admin-api.md — Added note about key model transition ( auth-server-ssr.md — Updated auth-sso-saml.md — Added SAML 2.0 enable prerequisite, updated pricing to note 50 included MAUs, added MFA |
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
signOut() defaults to scope: 'global' (all sessions on all devices), not current session only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace redundant explicit 'global' example with 'local' scope, making all three options (global, local, others) visible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6417961 to
9183adc
Compare
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
* feat: auth agent references * Update skills/supabase/references/auth-core-sessions.md Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com> * refactor: improve auth state management and update session handling examples * docs: update performance note for asymmetric JWTs * fix: correct signOut() default scope to 'global' signOut() defaults to scope: 'global' (all sessions on all devices), not current session only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: improve signOut() examples to show all three scope options Replace redundant explicit 'global' example with 'local' scope, making all three options (global, local, others) visible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * refactor: flatten auth references to root references directory Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * correct auth hooks * correct auth server ssr * fix auth reference files * fix paths inside skill.md * update agents.md --------- Co-authored-by: Greg Richardson <greg.nmr@gmail.com> Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Summary
Adds 15 authentication reference files covering the complete auth lifecycle:
auth-core-*): Sign-up, sign-in, and session management withonAuthStateChangeand token refreshauth-oauth-*): Provider setup (Google, GitHub, Apple, Azure) and PKCE flow for SPAs/SSRauth-mfa-*): TOTP authenticator apps with AAL1/AAL2 and phone verification via Twilio/MessageBirdauth-passwordless-*): Magic links and email/phone OTPauth-hooks-*): Custom JWT claims for RBAC/multi-tenancy and custom email/SMS hooksauth-server-*): SSR patterns for Next.js, SvelteKit, Nuxt and admin API with service roleauth-sso-*): SAML 2.0 setup and attribute mappingEach reference includes quick-start examples, incorrect/correct patterns, and security best practices. Also updates
SKILL.md,AGENTS.md, and_sections.mdwith the new Authentication section.