├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── favicon.ico ├── globals.css ├── layout.tsx ├── login │ └── page.tsx └── page.tsx ├── components.json ├── components ├── AuthProvider.tsx ├── OtpLogin.tsx └── ui │ ├── button.tsx │ ├── input-otp.tsx │ └── input.tsx ├── firebase.ts ├── lib └── utils.ts ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/README.md -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/app/login/page.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/app/page.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/components.json -------------------------------------------------------------------------------- /components/AuthProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/components/AuthProvider.tsx -------------------------------------------------------------------------------- /components/OtpLogin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/components/OtpLogin.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/input-otp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/components/ui/input-otp.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /firebase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/firebase.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonnysangha/otp-phone-authentication-demo-nextjs-firebase-auth/HEAD/tsconfig.json --------------------------------------------------------------------------------