---
title: "Discussion on \"Implementing Google Login in NextJS 14: A Complete Guide with AuthJS 5, MongoDB, and Prisma ORM\" | Hashnode"
description: "Discussion on \"Implementing Google Login in NextJS 14: A Complete Guide with AuthJS 5, MongoDB, and Prisma ORM\". Unlock the power of seamless Google authentication in your Next.js 14 applications using the latest NextAuth.js 5 (beta), Prisma ORM, and MongoDB."
url: "https://hashnode.com/posts/google-login-in-nextjs-with-authjs5-mongodb-and-prisma/666aa01bcc78bf045723201b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Implementing Google Login in NextJS 14: A Complete Guide with AuthJS 5, MongoDB, and Prisma ORM](https://blog.sazzadur.in/google-login-in-nextjs-with-authjs5-mongodb-and-prisma?utm_source=hashnode&utm_medium=feed)

Unlock the power of seamless Google authentication in your Next.js 14 applications using the latest NextAuth.js 5 (beta), Prisma ORM, and MongoDB.

Jun 13, 2024 · 7 min read · blog.sazzadur.in  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#nextauthjs](https://hashnode.com/tag/nextauthjs)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#prisma](https://hashnode.com/tag/prisma)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#google-guide-login](https://hashnode.com/tag/google-guide-login)

## Written by

[Sazzadur Rahman](https://hashnode.com/@sazzadur)

@sazzadur · Nagaon, India

  
[View profile](https://hashnode.com/@sazzadur)

Software Developer

👋 Hey there! I'm a passionate developer with a knack for creating robust and user-friendly applications. My expertise spans across various technologies, including TypeScript, JavaScript, SolidJS, React, NextJS.

## Responses 1

Markdown supported · ⌘↵ to post

[Ashfiquzzaman Sajal](https://hashnode.com/@ashsajal1)

[Jul 3, 2024](https://hashnode.com/posts/google-login-in-nextjs-with-authjs5-mongodb-and-prisma/666aa01bcc78bf045723201b/comment/6684abb2459d4806eb0b2b7b)

Your post is quite informative! It might be even more helpful if you could provide code examples for saving user information in a database and managing sessions.

[Sazzadur Rahman](https://hashnode.com/@sazzadur)

[Jul 3, 2024](https://hashnode.com/posts/google-login-in-nextjs-with-authjs5-mongodb-and-prisma/666aa01bcc78bf045723201b/comment/6684abb2459d4806eb0b2b7b#reply-66858350654f60c3d2e4b07c)

I completely agree with you, but I haven't included that portion of the example because everyone saves their users in the database differently. Even so, the complete code may be found in the GitHub repository, which I have contributed. You are welcome to look through the repository.

[github.com/SSazzadur/nextjs-google-auth](https://github.com/SSazzadur/nextjs-google-auth)
