# Configuring Google Provider in Mastering Next.js 13 with TypeScript

**URL:** https://forum.codewithmosh.com/t/configuring-google-provider-in-mastering-next-js-13-with-typescript/23179
**Category:** Uncategorized
**Created:** [October 21, 2023, 4:09am UTC](https://forum.codewithmosh.com/t/configuring-google-provider-in-mastering-next-js-13-with-typescript/23179 "2023-10-21T04:09:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Atta](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@Atta](https://forum.codewithmosh.com/u/Atta)
#### Post date: [October 21, 2023, 4:09am UTC](https://forum.codewithmosh.com/t/configuring-google-provider-in-mastering-next-js-13-with-typescript/23179/1 "2023-10-21T04:09:31Z")

</div>

Followed along the video, performed all the steps. And after clicking on the Login link I can see the  
“Sign in with Google” on the page. But when click on the “Sign in with Google”, the browser displays the following message

This site can’t provide a secure connection.  
localhost sent an invalid response.

Any help regarding that please?

Thanks,  
Atta

---

<div class="post-metadata">

### Author: ![Atta](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@Atta](https://forum.codewithmosh.com/u/Atta)
#### Post date: [October 22, 2023, 1:06am UTC](https://forum.codewithmosh.com/t/configuring-google-provider-in-mastering-next-js-13-with-typescript/23179/2 "2023-10-22T01:06:59Z")

</div>

I have figured it out. I had to remove ‘s’ from the https of NEXTAUTH\_URL.

It should be  
NEXTAUTH\_URL=[http://localhost:3000](http://localhost:3000)

instead of  
NEXTAUTH\_URL=[https://localhost:3000](https://localhost:3000)

---

<div class="post-metadata">

### Author: ![Mdchristien](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mdchristien/32/5930_2.png) [@Mdchristien](https://forum.codewithmosh.com/u/Mdchristien)
#### Post date: [November 28, 2023, 4:34pm UTC](https://forum.codewithmosh.com/t/configuring-google-provider-in-mastering-next-js-13-with-typescript/23179/3 "2023-11-28T16:34:45Z")

</div>

I keep getting the not found page when i try to signin: [http://localhost:3000/api/auth/signin](http://localhost:3000/api/auth/signin)

pls help
