├── .env.example ├── .gitignore ├── CHANGELOG.md ├── IMPROVEMENTS.md ├── LICENSE ├── README.md ├── astro.config.mjs ├── drizzle.config.ts ├── package.json ├── pnpm-lock.yaml ├── public ├── email.svg ├── eye-close.svg ├── eye-icon.svg ├── favicon.svg ├── github-mark-white.svg ├── github-mark.svg ├── google.svg └── spinner.svg ├── src ├── components │ └── navbar.astro ├── db │ ├── index.ts │ ├── migrations │ │ ├── 0000_same_xorn.sql │ │ └── meta │ │ │ ├── 0000_snapshot.json │ │ │ └── _journal.json │ └── schema │ │ ├── auth-mysql.ts │ │ ├── auth-pg.ts │ │ ├── auth.ts │ │ └── index.ts ├── env.d.ts ├── features │ ├── auth │ │ ├── components │ │ │ ├── account-deletion-form.tsx │ │ │ ├── account-page.tsx │ │ │ ├── email-update-form.tsx │ │ │ ├── email-verification-form.tsx │ │ │ ├── email-verification-request-form.tsx │ │ │ ├── login-form.tsx │ │ │ ├── magic-link-form.tsx │ │ │ ├── password-reset-form.tsx │ │ │ ├── password-reset-request-form.tsx │ │ │ ├── password-update-form.tsx │ │ │ ├── recovery-code-verification-form.tsx │ │ │ ├── signup-form.tsx │ │ │ ├── two-factor-disable-form.tsx │ │ │ ├── two-factor-setup-form.tsx │ │ │ └── two-factor-verification-form.tsx │ │ ├── constants.ts │ │ ├── services │ │ │ ├── logs.ts │ │ │ ├── password.ts │ │ │ ├── recovery-codes.ts │ │ │ ├── session.ts │ │ │ ├── two-factor.ts │ │ │ └── user.ts │ │ ├── utils.ts │ │ └── validations │ │ │ ├── email-verification.ts │ │ │ ├── email.ts │ │ │ ├── login.ts │ │ │ ├── password.ts │ │ │ ├── signup.ts │ │ │ ├── update-email.ts │ │ │ └── update-password.ts │ ├── email │ │ ├── services │ │ │ └── send.ts │ │ └── templates │ │ │ └── auth.ts │ └── ratelimit │ │ └── services │ │ └── index.ts ├── global.css ├── layout │ └── main-layout.astro ├── lib │ ├── aes.ts │ ├── random-string.ts │ ├── redis.ts │ └── url.ts ├── middleware.ts └── pages │ ├── account │ ├── delete │ │ └── index.astro │ ├── index.astro │ └── update │ │ ├── email.astro │ │ └── password.astro │ ├── api │ ├── auth │ │ ├── account │ │ │ ├── delete.ts │ │ │ ├── index.ts │ │ │ └── request-deletion.ts │ │ ├── callback │ │ │ ├── github.ts │ │ │ └── google.ts │ │ ├── email │ │ │ ├── index.ts │ │ │ ├── request-change.ts │ │ │ ├── request-verification.ts │ │ │ └── verify.ts │ │ ├── github.ts │ │ ├── google.ts │ │ ├── login.ts │ │ ├── logout.ts │ │ ├── magic-link │ │ │ ├── index.ts │ │ │ └── verify-code.ts │ │ ├── password │ │ │ ├── index.ts │ │ │ ├── request-reset.ts │ │ │ └── reset.ts │ │ ├── sessions │ │ │ ├── [sessionId].ts │ │ │ └── index.ts │ │ ├── signup.ts │ │ └── two-factor │ │ │ ├── disable.ts │ │ │ ├── recovery-codes │ │ │ ├── download.ts │ │ │ ├── index.ts │ │ │ └── verify.ts │ │ │ ├── setup.ts │ │ │ └── verify.ts │ └── profile.ts │ ├── dashboard.astro │ ├── forgot-password │ ├── [passwordVerificationId].astro │ └── index.astro │ ├── index.astro │ ├── login.astro │ ├── magic-link │ ├── [verificationId].astro │ └── index.astro │ ├── profile.astro │ ├── recovery-codes.astro │ ├── signup.astro │ ├── two-factor.astro │ ├── two-factor │ └── disable.astro │ ├── verify-recovery-code.astro │ ├── verify-two-factor.astro │ └── verify │ ├── [verificationId].astro │ └── index.astro └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /IMPROVEMENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/IMPROVEMENTS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/README.md -------------------------------------------------------------------------------- /astro.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/astro.config.mjs -------------------------------------------------------------------------------- /drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/drizzle.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/email.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/email.svg -------------------------------------------------------------------------------- /public/eye-close.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/eye-close.svg -------------------------------------------------------------------------------- /public/eye-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/eye-icon.svg -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/favicon.svg -------------------------------------------------------------------------------- /public/github-mark-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/github-mark-white.svg -------------------------------------------------------------------------------- /public/github-mark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/github-mark.svg -------------------------------------------------------------------------------- /public/google.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/google.svg -------------------------------------------------------------------------------- /public/spinner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/public/spinner.svg -------------------------------------------------------------------------------- /src/components/navbar.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/components/navbar.astro -------------------------------------------------------------------------------- /src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/db/index.ts -------------------------------------------------------------------------------- /src/db/migrations/0000_same_xorn.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/db/migrations/0000_same_xorn.sql -------------------------------------------------------------------------------- /src/db/migrations/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/db/migrations/meta/0000_snapshot.json -------------------------------------------------------------------------------- /src/db/migrations/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/db/migrations/meta/_journal.json -------------------------------------------------------------------------------- /src/db/schema/auth-mysql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/db/schema/auth-mysql.ts -------------------------------------------------------------------------------- /src/db/schema/auth-pg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/db/schema/auth-pg.ts -------------------------------------------------------------------------------- /src/db/schema/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/db/schema/auth.ts -------------------------------------------------------------------------------- /src/db/schema/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./auth"; 2 | -------------------------------------------------------------------------------- /src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/env.d.ts -------------------------------------------------------------------------------- /src/features/auth/components/account-deletion-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/account-deletion-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/account-page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/account-page.tsx -------------------------------------------------------------------------------- /src/features/auth/components/email-update-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/email-update-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/email-verification-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/email-verification-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/email-verification-request-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/email-verification-request-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/login-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/login-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/magic-link-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/magic-link-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/password-reset-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/password-reset-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/password-reset-request-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/password-reset-request-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/password-update-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/password-update-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/recovery-code-verification-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/recovery-code-verification-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/signup-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/signup-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/two-factor-disable-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/two-factor-disable-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/two-factor-setup-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/two-factor-setup-form.tsx -------------------------------------------------------------------------------- /src/features/auth/components/two-factor-verification-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/components/two-factor-verification-form.tsx -------------------------------------------------------------------------------- /src/features/auth/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/constants.ts -------------------------------------------------------------------------------- /src/features/auth/services/logs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/services/logs.ts -------------------------------------------------------------------------------- /src/features/auth/services/password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/services/password.ts -------------------------------------------------------------------------------- /src/features/auth/services/recovery-codes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/services/recovery-codes.ts -------------------------------------------------------------------------------- /src/features/auth/services/session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/services/session.ts -------------------------------------------------------------------------------- /src/features/auth/services/two-factor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/services/two-factor.ts -------------------------------------------------------------------------------- /src/features/auth/services/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/services/user.ts -------------------------------------------------------------------------------- /src/features/auth/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/utils.ts -------------------------------------------------------------------------------- /src/features/auth/validations/email-verification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/validations/email-verification.ts -------------------------------------------------------------------------------- /src/features/auth/validations/email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/validations/email.ts -------------------------------------------------------------------------------- /src/features/auth/validations/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/validations/login.ts -------------------------------------------------------------------------------- /src/features/auth/validations/password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/validations/password.ts -------------------------------------------------------------------------------- /src/features/auth/validations/signup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/validations/signup.ts -------------------------------------------------------------------------------- /src/features/auth/validations/update-email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/validations/update-email.ts -------------------------------------------------------------------------------- /src/features/auth/validations/update-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/auth/validations/update-password.ts -------------------------------------------------------------------------------- /src/features/email/services/send.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/email/services/send.ts -------------------------------------------------------------------------------- /src/features/email/templates/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/email/templates/auth.ts -------------------------------------------------------------------------------- /src/features/ratelimit/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/features/ratelimit/services/index.ts -------------------------------------------------------------------------------- /src/global.css: -------------------------------------------------------------------------------- 1 | @import "tailwindcss"; 2 | 3 | body { 4 | font-family: "Inter Variable", sans-serif; 5 | } 6 | -------------------------------------------------------------------------------- /src/layout/main-layout.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/layout/main-layout.astro -------------------------------------------------------------------------------- /src/lib/aes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/lib/aes.ts -------------------------------------------------------------------------------- /src/lib/random-string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/lib/random-string.ts -------------------------------------------------------------------------------- /src/lib/redis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/lib/redis.ts -------------------------------------------------------------------------------- /src/lib/url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/lib/url.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/pages/account/delete/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/account/delete/index.astro -------------------------------------------------------------------------------- /src/pages/account/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/account/index.astro -------------------------------------------------------------------------------- /src/pages/account/update/email.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/account/update/email.astro -------------------------------------------------------------------------------- /src/pages/account/update/password.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/account/update/password.astro -------------------------------------------------------------------------------- /src/pages/api/auth/account/delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/account/delete.ts -------------------------------------------------------------------------------- /src/pages/api/auth/account/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pages/api/auth/account/request-deletion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/account/request-deletion.ts -------------------------------------------------------------------------------- /src/pages/api/auth/callback/github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/callback/github.ts -------------------------------------------------------------------------------- /src/pages/api/auth/callback/google.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/callback/google.ts -------------------------------------------------------------------------------- /src/pages/api/auth/email/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/email/index.ts -------------------------------------------------------------------------------- /src/pages/api/auth/email/request-change.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/email/request-change.ts -------------------------------------------------------------------------------- /src/pages/api/auth/email/request-verification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/email/request-verification.ts -------------------------------------------------------------------------------- /src/pages/api/auth/email/verify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/email/verify.ts -------------------------------------------------------------------------------- /src/pages/api/auth/github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/github.ts -------------------------------------------------------------------------------- /src/pages/api/auth/google.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/google.ts -------------------------------------------------------------------------------- /src/pages/api/auth/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/login.ts -------------------------------------------------------------------------------- /src/pages/api/auth/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/logout.ts -------------------------------------------------------------------------------- /src/pages/api/auth/magic-link/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/magic-link/index.ts -------------------------------------------------------------------------------- /src/pages/api/auth/magic-link/verify-code.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/magic-link/verify-code.ts -------------------------------------------------------------------------------- /src/pages/api/auth/password/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/password/index.ts -------------------------------------------------------------------------------- /src/pages/api/auth/password/request-reset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/password/request-reset.ts -------------------------------------------------------------------------------- /src/pages/api/auth/password/reset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/password/reset.ts -------------------------------------------------------------------------------- /src/pages/api/auth/sessions/[sessionId].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/sessions/[sessionId].ts -------------------------------------------------------------------------------- /src/pages/api/auth/sessions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/sessions/index.ts -------------------------------------------------------------------------------- /src/pages/api/auth/signup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/signup.ts -------------------------------------------------------------------------------- /src/pages/api/auth/two-factor/disable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/two-factor/disable.ts -------------------------------------------------------------------------------- /src/pages/api/auth/two-factor/recovery-codes/download.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/two-factor/recovery-codes/download.ts -------------------------------------------------------------------------------- /src/pages/api/auth/two-factor/recovery-codes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/two-factor/recovery-codes/index.ts -------------------------------------------------------------------------------- /src/pages/api/auth/two-factor/recovery-codes/verify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/two-factor/recovery-codes/verify.ts -------------------------------------------------------------------------------- /src/pages/api/auth/two-factor/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/two-factor/setup.ts -------------------------------------------------------------------------------- /src/pages/api/auth/two-factor/verify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/auth/two-factor/verify.ts -------------------------------------------------------------------------------- /src/pages/api/profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/api/profile.ts -------------------------------------------------------------------------------- /src/pages/dashboard.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/dashboard.astro -------------------------------------------------------------------------------- /src/pages/forgot-password/[passwordVerificationId].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/forgot-password/[passwordVerificationId].astro -------------------------------------------------------------------------------- /src/pages/forgot-password/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/forgot-password/index.astro -------------------------------------------------------------------------------- /src/pages/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/index.astro -------------------------------------------------------------------------------- /src/pages/login.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/login.astro -------------------------------------------------------------------------------- /src/pages/magic-link/[verificationId].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/magic-link/[verificationId].astro -------------------------------------------------------------------------------- /src/pages/magic-link/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/magic-link/index.astro -------------------------------------------------------------------------------- /src/pages/profile.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/profile.astro -------------------------------------------------------------------------------- /src/pages/recovery-codes.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/recovery-codes.astro -------------------------------------------------------------------------------- /src/pages/signup.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/signup.astro -------------------------------------------------------------------------------- /src/pages/two-factor.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/two-factor.astro -------------------------------------------------------------------------------- /src/pages/two-factor/disable.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/two-factor/disable.astro -------------------------------------------------------------------------------- /src/pages/verify-recovery-code.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/verify-recovery-code.astro -------------------------------------------------------------------------------- /src/pages/verify-two-factor.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/verify-two-factor.astro -------------------------------------------------------------------------------- /src/pages/verify/[verificationId].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/verify/[verificationId].astro -------------------------------------------------------------------------------- /src/pages/verify/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/src/pages/verify/index.astro -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ksjitendra18/astro-js-auth-oauth-passwordless-credentials/HEAD/tsconfig.json --------------------------------------------------------------------------------