Crest is a secure and scalable authentication service built with NestJS, featuring OAuth 2.0 integration and JWT-based session management.
User clicks "Sign in" button in Next.js app (any client)
NestJS /auth/google/signin endpoint redirects to Google
User sees Google consent screen if not already authorized
Google redirects to /auth/google/callback, checks user in database
Generate JWT with PassportJS and redirect to client with token